Modules
Objects/Functions
SuiteScript 2.0
{crypto}.createDecipher({algorithm: {string*},key: {object*},padding: {object},iv: {string*}})
N/crypto Module
crypto.createDecipher()
Method Description:
Method used to create a crypto.Decipher object.
The blockCipherMode is automatically set to CBC.
Returns:
A crypto.Decipher object.
Supported Script Types:
Server-side scripts
For additional information, see SuiteScript 2.0 Script Types.
Governance:
None
Module:
N/crypto Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=crypto.createDecipher(options)
Example:
// Code Example 1
//Add additional code
//...
var decipher = crypto.createDecipher({
algorithm: crypto.EncryptionAlg.AES,
key: sKey,
padding: NoPadding,
iv: '2311141720'
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4358650886.html