CipherPayload.iv

Property Description

Initialization vector for the cipher payload.

You can pass this value to crypto.createDecipher(options).

Note:

This property is encoded in encode.Encoding.HEX regardless of the options.inputEncoding parameter value in the cipher.final method.

Type

string

Module

N/crypto Module

Since

2015.2

Syntax
Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/crypto Module Script Samples.

          //Add additional code 
...
log.debug({
    title: "CipherPayload.iv from Cipher.final: ",
    details: cipherPayload.iv
}); 
...
//Add additional code 

        

Related Topics

General Notices