From 50aa85dc9bf47c7fad280aba40401a14c81a1aac Mon Sep 17 00:00:00 2001 From: Tobias Nießen Date: Fri, 24 Aug 2018 10:37:45 +0200 Subject: crypto: deprecate _toBuf PR-URL: https://github.com/nodejs/node/pull/22501 Fixes: https://github.com/nodejs/node/issues/22425 Reviewed-By: Luigi Pinca Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater Reviewed-By: Benjamin Gruenbaum Reviewed-By: Anna Henningsen Reviewed-By: Denys Otrishko --- doc/api/deprecations.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc/api/deprecations.md') diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 56935574e6..7aa8ac01ba 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -1031,6 +1031,14 @@ With the current crypto API, having `Cipher.setAuthTag()` and when called. They have never been documented and will be removed in a future release. + +### DEP0114: crypto._toBuf() + +Type: Runtime + +The `crypto._toBuf()` function was not designed to be used by modules outside +of Node.js core and will be removed in the future. + [`--pending-deprecation`]: cli.html#cli_pending_deprecation [`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size [`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array -- cgit v1.2.3