Programming: Secure Hash Algorithm (SHA-1)
As part of a project to create a secure web log-in for a non-SSL
environment, I created a Javascript implementation of the Secure Hash
Algorithm (SHA-1). (See
Federal
Information Processing Standards Publication (FIPS PUB) 180-1
for details.) Javascript implementations vary from browser to browser,
making a "correct" implementation extremely difficult. My goal was to
develop an implementation that will run on virtually any Javascript-capable
browser/operating system. To test the script on your browser, or to
see my results so far, see my
SHA-1 Browser Test page.
If you find this script useful, you may
download it and use it under the terms of the
GNU General Public License.
|