This is a JavaScript implementation of the SHA256
message digest. On this page you can hash your input just for the taste of it, but I've also prepared some standard test vectors I'd like you to check.
If you have any questions, feel free to contact me:
chris 'at' bichlmeier 'dot' info
Example usage:
|
<script type="text/javascript" src="sha256.js"> </script> ... <script type="text/javascript"> <!-- document.write(sha256_digest("any message")); //--> </script> |
Download the source: sha256.js (7 KByte)