dosykdf

1.1.2 • Public • Published

dosykdf

key derivation function using cryptographic sponge function construction (dosysponge) with the dosyrng RNG as the state mixing function.

extremely slow. tunable number of rounds.

development notes

using eval_dosykdf.js we are currently failing practrand.

maybe we are using it wrong. perhaps, instead of continuously rehashing we just need to create a digest that is 1 Gb.

In other words, just run the absorb phase on the seed, before the loop.

Then call sequeeze to create a digest of 8 Mb, and repeat this until we have created 1 Gb.

It's hard to get this to pass practrand.

Got it to pass practrand using rate:1, capacity: 18

I think I can use a higher rate so long as I don't take all the values form the start of the array. If I take them at intervals throughout the array, it's probably okay.

Package Sidebar

Install

npm i dosykdf

Weekly Downloads

1

Version

1.1.2

License

MIT

Last publish

Collaborators

  • dosy