The examples at https://github.com/nodejs/node/blob/v11.1.0/doc/api/crypto.md#class-cipher ``` const cipher = crypto.createCipher('aes192', 'a password'); ``` and https://github.com/nodejs/node/blob/v11.1.0/doc/api/crypto.md#class-decipher ``` const decipher = crypto.createDecipher('aes192', 'a password'); ``` use deprecated methods `crypto.createCipher()` and `crypto.createDecipher()`. The examples should be updated to use `crypto.createCipheriv()` and `crypto.createDecipheriv()` instead.
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.