| Name | <BinaryTag.hmac[type=<type>;key=<secret>]> |
| Returns | BinaryTag |
| Description | Returns the raw binary HMAC ("hash-based message authentication code") of the binary data, using the given HMAC algorithm and key.
Type can be "HmacMD5", "HmacSHA1", "HmacSHA256", or any other algorithm supported by your Java runtime environment per https://docs.oracle.com/javase/8/docs/api/javax/crypto/Mac.html. Key can be a SecretTag, BinaryTag, or ElementTag. |
| Example | |
| Source | https://github.com/DenizenScript/Denizen-Core/blob/master/src/main/java/com/denizenscript/denizencore/objects/core/BinaryTag.java#L355 |