-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Crypto Cipher and Decipher examples use deprecated createCipher and createDecipher #24046
Comments
mayankasthana
changed the title
Crypto Cipher and Decipher examples use deprecated createCipher and createDecipher
docs: Crypto Cipher and Decipher examples use deprecated createCipher and createDecipher
Nov 2, 2018
@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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in 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: