crypto icon indicating copy to clipboard operation
crypto copied to clipboard

scrypt: allow hash.Hash payload, similar to hkdf & pbkdf2

Open paepckehh opened this issue 2 years ago • 1 comments

Allow to adapt payload type & complexity via hash.Hash Interface, similar to all other golang.org/x/crypto KDF functions (hkdf, pbkdf2,...).

This would allow to continue to use and apapt existing scrypt based implementations in 2023+, ignoring the increased (cheap) availibility of sha2 hardware assisted solutions.

paepckehh avatar Dec 21 '22 09:12 paepckehh

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

google-cla[bot] avatar Dec 21 '22 09:12 google-cla[bot]