JavaScript library of crypto standards. It is included by default - installation is not required.
var hash = CryptoJS.HmacSHA1("Message", "Key")
Bot.sendMessage(String(hash));
hash = CryptoJS.HmacSHA256("Message", "Secret Passphrase");
Bot.sendMessage(String(hash));