crypto.Decipher()
Description
Creates an instance of Decipher.
Syntax
new crypto.Decipher(algorithm,{key,iv,})
Parameters
new crypto.Decipher(algorithm, options)
algorithmoptions
A string containing the name of the decryption algorithm.
Options including:
- key - A string or a Data object containing the key for decryption.
- iv - A string or a Data object containing the IV (Initialization Vector) for decryption.
Return Value
A Decipher object using the specified algorithm and key.