HMAC message authentication for MoonBit (HMAC-SHA256, HMAC-SHA512; native+WASM)
Dependencies
# Add installation instructions here// Generate MAC
let mac = @hmac.generateMAC(message, key);
// Verify MAC
let isValid = @hmac.verifyMAC(message, key, mac);HMAC message authentication for MoonBit (HMAC-SHA256, HMAC-SHA512; native+WASM)
Dependencies