crypto.Cipher
Object Description |
Encapsulates a cipher. |
Supported Script Types |
Server scripts For additional information, see SuiteScript 2.x Script Types. |
Module |
|
Methods and Properties |
|
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
...
var myCipher = crypto.createCipher({ // myCipher is a crypto.Cipher object
algorithm: crypto.EncryptionAlg.AES,
key: sKey
});
...
//Add additional code