HMACSha1 static method

String HMACSha1(
  1. String msg,
  2. String key
)

Implementation

static String HMACSha1(String msg, String key) {
  return hex.encode(Hmac(sha1, key.codeUnits).convert(msg.codeUnits).bytes);
}