(String data, byte[] secret)
| 297 | } |
| 298 | |
| 299 | public static byte[] SignHMACSHA256(String data, byte[] secret) { return hmac("HmacSHA256", toUtf8(data), secret); } |
| 300 | public static byte[] SignHMACSHA256(byte[] data, byte[] secret) { return hmac("HmacSHA256", data, secret); } |
| 301 | |
| 302 | public static byte[] SignHMACSHA384(String data, byte[] secret) { return hmac("HmacSHA384", toUtf8(data), secret); } |