Modules
Objects/Functions
SuiteScript 2.0
{crypto}.createHash({algorithm: {string*}})
N/crypto Module
crypto.createHash()
Method Description:
Method used to create a crypto.Hash object.
Returns:
The crypto.Hash object created using this method.
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.createHash(options)
Example:
// Code Example 1
//Add additional code
//...
var hashObj = crypto.createHash({
algorithm: crypto.HashAlg.SHA256
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4358647370.html