Taken from http://www.movable-type.co.uk. Subsequently modified the layout of the HTML page by Lev A Neiman.

A cryptographic hash (sometimes called ‘digest’) is a kind of ‘signature’ for a text or a data file. SHA1 generates an almost-unique 160-bit (20-byte) signature for a text. See below for the source code.

This form will hide your input.
This form will show your input in plaintext.