TinyMUX

Hmac()

Functions

Description

FUNCTION: hmac(<key>, <message>[, <algorithm>])

Computes an HMAC (Hash-based Message Authentication Code) for the given message using the specified key. An optional algorithm parameter selects the hash function.

Examples

> say hmac(secret, Hello World)

encode64(), decode64(), digest()