Modules

filter

 

Objects/Functions

module (N/crypto)

SuiteScript 2.0

Hmac.digest(options)

{Hmac}.digest({outputEncoding: {string}})

N/crypto Module
Hmac.digest()
Method Description: Gets the computed digest.
Returns: An hmac value as a string
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=Hmac.digest(options)

Example:

// Code Example 1
//Add additional code
//...
var digestSHA512 = hmacSHA512.digest({
outputEncoding: encode.Encoding.HEX
});
//...
//Add additional code

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