HSH 11/13 - ECMAscript implementation

An HSH 11/13 implementation in ECMAscript by Jonas Finnemann Jensen.

Example

Create hash: (Test vector: HSH(Yvonne) = 923F2DB7)

Output:

Usage

Short description of the javascript functions and how to used them.
HSHInit()
Initialize a new HSHContext, returns the initlized context.

HSHStrInput(Context, String)
Input a string to a HSHContext, returns the new HSHContext.

HSHResult(Context)
Returns the result of the HSH operation as hexadecimal string.

HSHReset()
Resets an HSH context, same as HSHInit().

Links