can we set autoPadding for key and iv in crypto.createCipheriv(algorithm, key, iv)? #14072
Labels
crypto
Issues and PRs related to the crypto subsystem.
feature request
Issues that request new features to be added to Node.js.
Uh oh!
There was an error while loading. Please reload this page.
If we create a new instance using crypto.createCipheriv(algorithm, key, iv) it throws an error of invalid key length. Can we set auto padding so that if the key is short than it automatically adds padding to key or do we manually need to append it, the key here can be of dynamic length?
The text was updated successfully, but these errors were encountered: