Generate a SHA256 HMAC hash.
security.sha256hmac(key, str);
key
str
let hash = security.sha256hmac("mySecret", "Hello"); // "wXJ+DzC4r15MVx/w0i0PXezGMBjy1uN2rBbcBNBuSCw="