-
Notifications
You must be signed in to change notification settings - Fork 30.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
docs: Crypto Cipher and Decipher examples use deprecated createCipher and createDecipher #24046
Comments
@mayankasthana Do you want to submit a PR to fix that? |
Sure! |
3 tasks
mayankasthana
added a commit
to mayankasthana/node
that referenced
this issue
Nov 10, 2018
Updated Cipher and Decipher examples to not use deprecated `crypto.createCipher` and `crypto.createDecipher` in examples and instead use `createCipheriv` and `createDecipheriv`. Fixes: nodejs#24046
targos
pushed a commit
that referenced
this issue
Nov 19, 2018
Updated Cipher and Decipher examples to not use deprecated `crypto.createCipher` and `crypto.createDecipher` in examples and instead use `createCipheriv` and `createDecipheriv`. Fixes: #24046 PR-URL: #24107 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
rvagg
pushed a commit
that referenced
this issue
Nov 28, 2018
Updated Cipher and Decipher examples to not use deprecated `crypto.createCipher` and `crypto.createDecipher` in examples and instead use `createCipheriv` and `createDecipheriv`. Fixes: #24046 PR-URL: #24107 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
codebytere
pushed a commit
that referenced
this issue
Jan 13, 2019
Updated Cipher and Decipher examples to not use deprecated `crypto.createCipher` and `crypto.createDecipher` in examples and instead use `createCipheriv` and `createDecipheriv`. Fixes: #24046 PR-URL: #24107 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
refack
pushed a commit
to refack/node
that referenced
this issue
Jan 14, 2019
Updated Cipher and Decipher examples to not use deprecated `crypto.createCipher` and `crypto.createDecipher` in examples and instead use `createCipheriv` and `createDecipheriv`. Fixes: nodejs#24046 PR-URL: nodejs#24107 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
codebytere
pushed a commit
that referenced
this issue
Jan 29, 2019
Updated Cipher and Decipher examples to not use deprecated `crypto.createCipher` and `crypto.createDecipher` in examples and instead use `createCipheriv` and `createDecipheriv`. Fixes: #24046 PR-URL: #24107 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
The examples at
https://github.com/nodejs/node/blob/v11.1.0/doc/api/crypto.md#class-cipher
and
https://github.com/nodejs/node/blob/v11.1.0/doc/api/crypto.md#class-decipher
use deprecated methods
crypto.createCipher()
andcrypto.createDecipher()
.The examples should be updated to use
crypto.createCipheriv()
andcrypto.createDecipheriv()
instead.The text was updated successfully, but these errors were encountered: