Tarantool Lua API

crypto.hmac

Methods4

function hmac.init(self: crypto.hmac, key: string) -> nil

Initialize the HMAC.

function hmac.update(self: crypto.hmac, input: string) -> nil

Feed data.

function hmac.result(self: crypto.hmac) -> string

Return the HMAC value.

function hmac.free(self: crypto.hmac) -> nil

Free the HMAC context.