Modules

filter

 

Objects/Functions

module (N/https)

SuiteScript 2.0

https.HashAlg

https.HashAlg.{|SHA1,SHA256,SHA512,MD5|}

N/https Module
https.HashAlg
Enum Description: Holds the string values for supported hashing algorithms.
Supported Script Types: Server scripts For more information, see SuiteScript 2.0 Script Types.
Module: N/https Module
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=https.HashAlg

Example:

// Code Example 1
// Add additional code
//...
var mySecureString = https.createSecureString({
input: 'ConvertMe'
});
var mySecureStringHash = mySecureString.hash({
algorithm: https.HashAlg.SHA256
});
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_1543504694.html