node/lib/internal/crypto
Tobias Nießen 9374700d7a
crypto: remove DEFAULT_ENCODING
Citing 76b0bdf720 from 2012, "only use
this as a temporary measure."

Getting or setting DEFAULT_ENCODING has emitted a warning ever since
Node.js 10, so it seems appropriate to remove it in Node.js 20 five
years later. The last Node.js version that did not emit a warning
reached its end-of-life status at the end of 2019.

This commit only removes the public API so that the change can land in
time for Node.js 20.

Refs: https://github.com/nodejs/node-v0.x-archive/pull/4179
Refs: https://github.com/nodejs/node/pull/18333
PR-URL: https://github.com/nodejs/node/pull/47182
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Filip Skokan <panva.ip@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
Reviewed-By: Erick Wendel <erick.workspace@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
2023-03-26 18:03:58 +00:00
..
aes.js crypto: use WebIDL converters in WebCryptoAPI 2023-01-17 08:57:58 +00:00
certificate.js lib: fix typo in lib/internal/crypto/certificate.js 2021-03-19 12:22:39 +01:00
cfrg.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
cipher.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
diffiehellman.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
ec.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
hash.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
hashnames.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
hkdf.js crypto: use WebIDL converters in WebCryptoAPI 2023-01-17 08:57:58 +00:00
keygen.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
keys.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
mac.js crypto: use WebIDL converters in WebCryptoAPI 2023-01-17 08:57:58 +00:00
pbkdf2.js crypto: use WebIDL converters in WebCryptoAPI 2023-01-17 08:57:58 +00:00
random.js crypto: unify validation of checkPrime checks 2023-03-22 11:41:06 +00:00
rsa.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
scrypt.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
sig.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
util.js crypto: remove DEFAULT_ENCODING 2023-03-26 18:03:58 +00:00
webcrypto.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00
webidl.js crypto: use WebIDL converters in WebCryptoAPI 2023-01-17 08:57:58 +00:00
x509.js lib: enforce use of trailing commas 2023-03-06 10:44:14 +01:00