crypto.Decipher

Note:

The content in this help topic pertains to SuiteScript 2.0.

Object Description

Encapsulates a decipher. This object has methods that decrypt.

For a complete list of this object’s methods and properties, see Decipher Object Members.

Supported Script Types

Server scripts

For additional information, see SuiteScript 2.x Script Types.

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 
...
myDecipher = crypto.createDecipher({  // myDecipher is a crypto.Decipher object
    algorithm: crypto.EncryptionAlg.AES,
    key: sKey
});
... 
//Add additional code 

        

Related Topics

N/crypto Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices