16 lines
No EOL
648 B
Text
16 lines
No EOL
648 B
Text
These is an implementations of tiger made without looking at the original
|
|
reference code to ensure the resulting code can be published under a free
|
|
license. The paper was looked though to know how did tiger work.
|
|
|
|
Currently the API provides these three functions:
|
|
/** Return the hash of the desired string as 3 Uint64s **/
|
|
function tiger($str);
|
|
|
|
/** Return the data that needs to be stored to call tigerp2 **/
|
|
function tigerp1($password, $salt)
|
|
|
|
/** end processing the request started in tigerp1, adding any extra data**/
|
|
function tigerp2($h, $r, $n, $hs, $s)
|
|
|
|
Also an auxiliar Uint64 class providing unsigned 64 bit integer arithmetic is
|
|
provided. |