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:

It currently only supports ASCII, so if you need to hash Unicode text you'll need to write a decoder.

{{html:sha256.js}}