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][].
 
-<a id="DEP00XX"></a>
-### DEP00XX: crypto.DEFAULT_ENCODING
+<a id="DEP0091"></a>
+### DEP0091: crypto.DEFAULT_ENCODING
 
 Type: Runtime
 
 The [`crypto.DEFAULT_ENCODING`][] property is deprecated.
 
-<a id="DEP00XX"></a>
-### DEP00XX: Top-level `this` bound to `module.exports`
+<a id="DEP0092"></a>
+### 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,