b9j.digest - A SHA-256 digester
... = b9j.digest.sha256.calculate16( "Hello, World." ) // Hexadecimal, base 16
... = b9j.digest.sha256.calculate64( "Hello, World." ) // Base 64
... = b9j.digest.sha256.calculate( "Hello, World." ) // Binary string (byte string), base 256
A SHA-256 digester (implementation by Angel Marin http://anmar.eu.org/projects/jssha2/)
Calculate the SHA-256 digest of $input and return the result as a hexadecimal (base16) value
Calculate the SHA-256 digest of $input and return the result as a base64 (= padded) value
Calculate the SHA-256 digest of $input and return the result as a binary string (byte string), base 256
http://anmar.eu.org/projects/jssha2/
b9j - A JavaScript toolkit
Robert Krimen <robertkrimen at gmail.com> http://bravo9.com
Available as part of b9j: b9j-latest.zip
You can contribute or fork this project via GitHub:
http://github.com/robertkrimen/b9j/tree/master
git clone git://github.com/robertkrimen/b9j.git
Copyright 2008 Robert Krimen
Code licensed under the BSD License: http://appengine.bravo9.com/b9j/documentation/license.txt