You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 28, 2023. It is now read-only.
Using crypto.createCipher() and crypto.createDecipher() should be avoided as they use a weak key derivation function (MD5 with no salt) and static initialization vectors. It is recommended to derive a key using crypto.pbkdf2() or crypto.scrypt() and to use crypto.createCipheriv() and crypto.createDecipheriv() to obtain the Cipher and Decipher objects respectively.
The text was updated successfully, but these errors were encountered:
simonmaass
changed the title
[DEP0106] DeprecationWarning: crypto.createDecipher is deprecated.
DeprecationWarning: crypto.createDecipher is deprecated.
Aug 6, 2020
running with node v12 i get:
[DEP0106] DeprecationWarning: crypto.createDecipher is deprecated.
https://stackoverflow.com/questions/60369148/how-do-i-replace-deprecated-crypto-createcipher-in-nodejs#:~:text=according%20to%20the%20deprecation%20docs,salt)%20and%20static%20initialization%20vectors.
Using crypto.createCipher() and crypto.createDecipher() should be avoided as they use a weak key derivation function (MD5 with no salt) and static initialization vectors. It is recommended to derive a key using crypto.pbkdf2() or crypto.scrypt() and to use crypto.createCipheriv() and crypto.createDecipheriv() to obtain the Cipher and Decipher objects respectively.
The text was updated successfully, but these errors were encountered: