static HmacSignature(key, messageToSign) {
        let shaObj = new jsSHA("SHA-256", "TEXT");

        shaObj.setHMACKey(key,'HEX');
        shaObj.update(messageToSign);
        
        return shaObj.getHMAC("HEX");
    }
// <returns>The HMACSHA256 signature as a hex string</returns>
The HMACSHA256 signature as a hex string
The HMACSHA256 signature as a hex string
static HmacSignature(key, messageToSign) {
        let shaObj = new jsSHA("SHA-256", "TEXT");
        shaObj.setHMACKey(key,'HEX');
        shaObj.update(messageToSign);
        return shaObj.getHMAC("HEX");
    }
static HmacSignature ( key , messageToSign ) { let shaObj = new jsSHA ( "SHA-256" , "TEXT" ) ; shaObj . setHMACKey ( key , 'HEX' ) ; shaObj . update ( messageToSign ) ; return shaObj . getHMAC ( "HEX" ) ; }
<returns>The HMACSHA256 signature as a hex string</returns>
<returns > The HMACSHA256 signature as a hex string< / returns >