-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Closed
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Description
- Node.js Version:10.16.0
- OS:windows 10
- Scope (install, code, runtime, meta, other?):runtime
- Module (and version) (if relevant):crypto
The shake128 and shake256 hash functions allow you to specify the size of the digest, however the createHash call doesn't seem to allow setting those options.
const hash = crypto.createHash('shake128');
hash.update('blabadeblablabla');
console.log( hash.digest('hex') );
Metadata
Metadata
Assignees
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.