I am looking for similar function on AC for Crypto library.
So, this piece of code should be adapted/translated to run on AC Classic:
const crypto = require('crypto');
sig = crypto.createHmac('sha1', appsecret).update(text).digest('bin');
I have found this AC function below but not sure is that good replacement.