You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to add support for SHA3 (Keccak) algorithm to crypto.createHash, cause NIST has approved it in back October 2012 and we need to install third-party extensions in our days to use it.
Just wanted to mention that Keccak support is in OpenSSL (but unreleased as of yet): openssl/openssl#439 so SHA3 will presumably get supported once the next OpenSSL gets out and Node upgrades to it.
Reacted by silverwind, Nick Addison, Yahor Siarheyenka and Extarys
@RSginer OpenSSL 1.1.1 has already been backported to v10.x and will be in the next v10.x release. v8.x still only has OpenSSL 1.0.2 and there is no PR to backport OpenSSL 1.1.1 to that branch yet. It's unlikely v8.x will get it as it's been in maintenance mode since the beginning of this year and will EOL in December.
Reacted by Nikita Skovoroda, Rubén Soler and Americrypt™
@RSginer OpenSSL 1.1.1 has already been backported to v10.x and will be in the next v10.x release. v8.x still only has OpenSSL 1.0.2 and there is no PR to backport OpenSSL 1.1.1 to that branch yet. It's unlikely v8.x will get it as it's been in maintenance mode since the beginning of this year and will EOL in December.
I'm not sure that this made it in. I updated to 10.15.3 and there's no sha-3
Activity
mscdex commentedon Apr 1, 2015
Is SHA-3 even standardized yet? I don't think OpenSSL supports it yet either...
bricss commentedon Apr 1, 2015
Nope, it's not...
Fishrock123 commentedon Apr 1, 2015
I don't think we support anything in core that isn't in OpenSSL.
We'll be upgrading to OpenSSL 1.0.2 soon, if that helps. (#589)
bricss commentedon Apr 1, 2015
Yes, I agree, I should to first check OpenSSL for SHA3 support.
passcod commentedon Sep 20, 2017
Just wanted to mention that Keccak support is in OpenSSL (but unreleased as of yet): openssl/openssl#439 so SHA3 will presumably get supported once the next OpenSSL gets out and Node upgrades to it.
ppKrauss commentedon Jan 31, 2019
Please reopen, please see https://www.openssl.org/blog/blog/2018/09/11/release111/
sam-github commentedon Jan 31, 2019
@ppKrauss have you tried node 11.9.0?
crypto.getHashes()suggests 'sha3' is supported.ppKrauss commentedon Jan 31, 2019
Thanks @sam-github , seems the problem... How to check my crypto-module version?
https://stackoverflow.com/q/54469183/287948
ppKrauss commentedon Jan 31, 2019
Sorry @sam-github , now is working!
UBUNTU
aptis ugly and confuse never updated NodeJS (!), butsudo n latestupgraded from "v8.8.1" to "v11.9.0"... Now is working fine (RSA-SHA3-256) !Any clues about this question, "how to check crypto module version?"
sam-github commentedon Feb 1, 2019
node -p process.versions.opensslRSginer commentedon May 22, 2019
It's in mind to implement that on previous LTS versions?
I am in 8.12.0
> crypto.getHashes()>[ 'DSA', 'DSA-SHA', 'DSA-SHA1', 'DSA-SHA1-old', 'RSA-MD4', 'RSA-MD5', 'RSA-MDC2', 'RSA-RIPEMD160', 'RSA-SHA', 'RSA-SHA1', 'RSA-SHA1-2', 'RSA-SHA224', 'RSA-SHA256', 'RSA-SHA384', 'RSA-SHA512', 'dsaEncryption', 'dsaWithSHA', 'dsaWithSHA1', 'dss1', 'ecdsa-with-SHA1', 'md4', 'md4WithRSAEncryption', 'md5', 'md5WithRSAEncryption', 'mdc2', 'mdc2WithRSA', 'ripemd', 'ripemd160', 'ripemd160WithRSA', 'rmd160', 'sha', 'sha1', 'sha1WithRSAEncryption', 'sha224', 'sha224WithRSAEncryption', 'sha256', 'sha256WithRSAEncryption', 'sha384', 'sha384WithRSAEncryption', 'sha512', 'sha512WithRSAEncryption', 'shaWithRSAEncryption', 'ssl2-md5', 'ssl3-md5', 'ssl3-sha1', 'whirlpool' ]mscdex commentedon May 22, 2019
@RSginer OpenSSL 1.1.1 has already been backported to v10.x and will be in the next v10.x release. v8.x still only has OpenSSL 1.0.2 and there is no PR to backport OpenSSL 1.1.1 to that branch yet. It's unlikely v8.x will get it as it's been in maintenance mode since the beginning of this year and will EOL in December.
RSginer commentedon May 22, 2019
@mscdex great! Thanks a lot
troppoli commentedon Jul 16, 2019
I'm not sure that this made it in. I updated to 10.15.3 and there's no sha-3
bricss commentedon Jul 16, 2019
@troppoli You will find it in Node.js >= 12
troppoli commentedon Jul 16, 2019
@bricss @RSginer Sorry for the fire drill, my update to latest didn't get me the latest in LTS 10.16.0, and that does have sha-3