Hash2 test page

(8 to 4,096 output character hash routine)

Tutorial
Hash2 JS

Input is any amount of text you can enter from a keyboard or paste (including <cr>, etc), and the output is hex representation of the characters of the hash. The length of the hash output in characters is a parameter which is internally set to 8 (with hex notation of those 8 characters, output takes 16 chars to represent) - it can be anything up to 4,096.

Input
 
Output

The JS call is...

  Hash2(strn, len, flg);

  Where
    strn = the character string to hash (any length).
    len  = the length of the hash output character string (8-4096).
    flg  = output return format
           0 = 256-character format (not all characters will display)
           1 = hex notation of the characters (doubles display length).