RndPhrase / RndPhrase.js

Javascript module to auto generate secure passwords
2 stars 0 forks source link

Get proper sized hash string #13

Closed rlindsgaard closed 10 years ago

rlindsgaard commented 10 years ago

When it is possible to pass a size to the hashcube method this should be an argument with a size of 512 in order to ensure that we can generate more or less arbitrarily large hashes.

rlindsgaard commented 10 years ago

Actually, we can never be sure of the length of the hash algorithm as it is separated from the library. The length issue should be handled inside the library by generating a new hash based on the current one.

rlindsgaard commented 10 years ago

Implemented in https://github.com/RndPhrase/RndPhrase.js/commit/73941df38a1f1d4ec1d45f64a50b37ee3bc4cef0