StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WebForms (How do I?)
»
TripleDESWrapper
TripleDESWrapper
Post Reply
Like
0
TripleDESWrapper
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Keith Chisarik
Keith Chisarik
posted 18 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 939,
Visits: 40K
What is the key to the encryption here when I use this wrapper?
What will I need to move to my webserver upon deployment (thinking ahead) to maintain the ability to read encrypted data I deploy?
I am using this (as below) to encrypt both database values for some sensitive information as well as parameters I pass to avoid the possibility of hack and SQL injection attacks. Am I using it correctly?
Thanks,
Keith
sample implementation:
Dim x As String = "hhhh"
Dim encrypted_x As String
Dim decrypted_x As String
Dim wrapper As MicroFour.StrataFrame.Security.Encryption.TripleDESWrapper
wrapper = New MicroFour.StrataFrame.Security.Encryption.TripleDESWrapper
encrypted_x = wrapper.Encrypt(x)
decrypted_x = wrapper.Decrypt(encrypted_x)
Keith Chisarik
Sigma Data Systems
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
TripleDESWrapper
Keith Chisarik
-
18 Years Ago
Yes, this looks fine. The only other thing that I would recommend is...
Trent L. Taylor
-
18 Years Ago
as always, thank you.
Keith Chisarik
-
18 Years Ago
No problem...:)
Trent L. Taylor
-
18 Years Ago
If it were you, would you put your keys in the code? or somewhere...
Keith Chisarik
-
18 Years Ago
I generally have a shared class somewhere that defined these as...
Trent L. Taylor
-
18 Years Ago
Excellent.....
Keith Chisarik
-
18 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search