outputLength and keying for blake2b digest #40921
Labels
crypto
Issues and PRs related to the crypto subsystem.
feature request
Issues that request new features to be added to Node.js.
openssl
Issues and PRs related to the OpenSSL dependency.
stale
Is your feature request related to a problem? Please describe.
local PASETO (Platform-Agnostic SEcurity TOkens) version 2 and 4 make use of keyed blake2b hashes of lower than default output lengths.
Describe the solution you'd like
A native
crypto.createHash
support for setting the initial digest state with desired output length and key input, for completeness optionally also salt and personalization.The text was updated successfully, but these errors were encountered: