Modules

filter

 

Objects/Functions

module (N/crypto)

SuiteScript 2.0

crypto.Hmac

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=crypto.Hmac for more information.

N/crypto Module
crypto.Hmac
Object Description: Encapsulates an hmac. For a complete list of this object’s methods and properties, see Hmac Object Members.
Supported Script Types: Server-side scripts For additional information, see SuiteScript 2.0 Script Types.
Module: N/crypto Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=crypto.Hmac

Example:

// Code Example 1
//Add additional code
//...
var hmacSHA512 = crypto.createHmac({
algorithm: crypto.HashAlg.SHA512,
key: sKey
});
//...
//Add additional code

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