Last active
December 20, 2015 20:59
-
-
Save hagbarddenstore/6194518 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static byte[] AccountAddSaltToHashedPassword(string passwordHash, byte[] salt) | |
| { | |
| var hash = cryptCalculateSHAHash(string.Format("{0}{1}", passwordHash, System.Text.Encoding.ASCII.GetString(salt))); | |
| return hash; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment