diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md
index 7bc38cf5b48639..1f762f3934b5e1 100644
--- a/doc/api/deprecations.md
+++ b/doc/api/deprecations.md
@@ -824,15 +824,15 @@ a future version at which point only authentication tag lengths of 128, 120,
is not included in this list will be considered invalid in compliance with
[NIST SP 800-38D][].
-
-### DEP00XX: crypto.DEFAULT_ENCODING
+
+### DEP0091: crypto.DEFAULT_ENCODING
Type: Runtime
The [`crypto.DEFAULT_ENCODING`][] property is deprecated.
-
-### DEP00XX: Top-level `this` bound to `module.exports`
+
+### DEP0092: Top-level `this` bound to `module.exports`
Type: Documentation-only
diff --git a/lib/crypto.js b/lib/crypto.js
index 5983f1db4f54d2..aa6d4f463d7c7e 100644
--- a/lib/crypto.js
+++ b/lib/crypto.js
@@ -206,9 +206,9 @@ Object.defineProperties(exports, {
enumerable: true,
configurable: true,
get: deprecate(getDefaultEncoding,
- 'crypto.DEFAULT_ENCODING is deprecated.', 'DEP00XX'),
+ 'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091'),
set: deprecate(setDefaultEncoding,
- 'crypto.DEFAULT_ENCODING is deprecated.', 'DEP00XX')
+ 'crypto.DEFAULT_ENCODING is deprecated.', 'DEP0091')
},
constants: {
configurable: false,