SHA-256 One Way Encryption

(ASP) implementation of the SHA-256 one-way encryption algorithm, which is one of the industry standard methods for generating digital signatures. The SHA-256 algorithm is one of the industry standard methods for generating digital signatures. It is generically known as a digest, digital signature, one-way encryption, hash or checksum algorithm. A common use for SHA-256 is for password encryption as it is one-way in nature, that does not mean that your passwords are not free from a dictionary attack.

SHA256("SuperSecretPassword")
Expected: 8ca187c92a6a3892735ca9fdcc5af91f4f423ee8cda550158192cfe4219246ad
Actual:   8ca187c92a6a3892735ca9fdcc5af91f4f423ee8cda550158192cfe4219246ad

SHA256("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq")
Expected: 248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1
Actual:   248d6a61d20638b8e5c026930c3e6039a33ce45964ff2167f6ecedd419db06c1


When using with passwords, store the digest in your database, then hash the password on login and compare the two.

Source Files .ZIP


asp passwords encryption sha sha-256


Back To Top
© 1998 - 2017 psacake.com | My3C's

Version 7.2 | Advertise on this site