ethereum / js-ethereum-cryptography

Every cryptographic primitive needed to work on Ethereum, for the browser and Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expose scrypt `onProgress`

paulmillr opened this issue · comments

Scrypt has optional onProgress method. Very useful for progress bars. How could we expose it? Perhaps a new alternative signature that mirrors noble-hashes? ({N, r, p, onProgress} hash). BTW, Swift built-in uses {N, r, p} hash, not function arguments.