crypto.createDecipheriv()

crypto.createDecipheriv(algorithm, key, iv)

Creates and returns a Decipher object that uses 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.

doc_Nodejs
2016-04-30 04:38:28
Comments
Leave a Comment

Please login to continue.