StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
How to hash/encrypt a password
How to hash/encrypt a password
Post Reply
Like
0
How to hash/encrypt a password
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Ger Cannoll
Ger Cannoll
posted 11 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 430,
Visits: 507
HI Ben
Thanks
Reply
Like
0
StrataFrame Team
S
StrataFrame Team
posted 11 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
We use the MicroFour.StrataFrame.Security.SecurityBasics.SecurityKey and .SecurityKeyVector properties to allow you to specify the key and vector for the CryptoTransform we use. They are both a byte array and you can set them to anything or use the .GetSecurityKey() and .GetSecurityKeyVector() methods to generate ones for you from a given string. In those methods, we just hash your given key and choose a certain set of bytes from the hash for the key and vector.
Reply
Like
0
Ger Cannoll
Ger Cannoll
posted 11 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 430,
Visits: 507
Hi Ivan. Thanks for that
Dim
encryptedContents()
As
Byte
=loEncrypt.Encrypt(contents)
....seems to be the line I am looking for
I though that a Seed was required ...... how does this line know what the seed is ?
Reply
Like
0
Ivan George Borges
Ivan George Borges
posted 11 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame MVPs
Posts: 1.9K,
Visits: 21K
Hi Ger.
Have a look at this sample:
http://forum.strataframe.net/FindPost27177.aspx
Reply
Like
0
Ger Cannoll
Ger Cannoll
posted 11 Years Ago
ANSWER
Topic Details
Share Topic
Group: StrataFrame Users
Posts: 430,
Visits: 507
I have a small form (not based on Strataframe Form) and I have a Password that I want to Hash Similar to the way the SF User password is encrypted.
Is it possible to Hash it (and Unhash it later ) by calling a SF Method . Some code (c#) would be helpful
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
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