MD4, MD5 and SHA-1 implementations in JavaScript

Need help with your JScripts? Got questions concerning the DFNs? Come forward, step inside :)
Post Reply
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

MD4, MD5 and SHA-1 implementations in JavaScript

Post by Xuri »

I found a page with examples of MD4, MD5 and SHA-1 algorithms implemented in JavaScript. Tested the MD5 one with UOX3 and it seemed to work (hashed the string I input as teststring) - but I have no idea what (if any) use this could have for UOX3 scripters =P

Anyway, the page is located at http://pajhome.org.uk/crypt/md5/index.html if anyone is interested.
-= Ho Eyo He Hum =-
Maarc
Developer
Posts: 576
Joined: Sat Mar 27, 2004 6:22 am
Location: Fleet, UK
Has thanked: 0
Been thanked: 0
Contact:

Post by Maarc »

Secret cults and password systems, and not wanting the shard ops to be able to peek at the code :) From the page you linked to:
  • Challenge hash authentication - a simple way to protect passwords during login.
    One time passwords - a neat way to use a different password on every website, without having to remember them all.
    Generating unique id numbers, e.g. from an email address
    Harvesting entropy, e.g. squashing a passphrase down to a 128-bit cipher key
    Data integrity and message authentication codes
    Bit commitment, e.g. this logic game by Thomas Lussnig. Here the server sends a hash to the client, which commits it to a particular choice of secret colours, but without revealing what the colours are.
    One-way encryption of passwords
    To make a pseudo symmetric-encryption algorithm
Seems mostly security related, but then, that's what cryptography is usually for :)
Post Reply