crypto.createCipheriv(algorithm, key, iv)
Creates and returns a Cipher
object, with the given algorithm
, key
and initialization vector (iv
).
The algorithm
is dependent on OpenSSL, examples are 'aes192'
, etc. On recent OpenSSL releases, openssl list-cipher-algorithms
will display the available cipher algorithms.
The key
is the raw key used by the algorithm
and iv
is an initialization vector. Both arguments must be 'binary'
encoded strings or buffers.
Please login to continue.