JavaScript SHA-256 demo
This is a JavaScript implementation of SHA-256, aiming to be as small as I can make it. The goals are:
- small size- the minified version is less than a kilobyte
- readability - the unminified version should be relatively easy to understand
It currently only supports ASCII, so if you need to hash Unicode text you'll need to write a decoder.
{{html:sha256.js}}