Generate a SHA1 HMAC hash.
security.sha1hmac(key, str);
key
str
let hash = security.sha1hmac("mySecret", "Hello"); // "YuM0lx19wbPh15dGIJ0q/9EG7RI="