static List<int> sign(List<int> key, String message) { Hmac hmac = Hmac(sha256, key); Digest dig = hmac.convert(utf8.encode(message)); return dig.bytes; }