24/7 Support: 800.608.6482

crypto_evp_hmac

MvDo Function, MVT, Miva 9+, Engine v5.22+

Tag / Description

crypto_evp_hmac( digestname, key, buffer var, digest var )

<mvt:assign name="g.return_value" value="crypto_evp_hmac( digestname, key, buffer var, digest var )" />

Calculates the HMAC of "buffer" using digest algorithm "digestname" and key "key", placing the HMAC in "digest". The HMAC output is always in raw binary format, use miva_hex_encode() or crypto_base64_encode() if other output formats are desired.

Parameters

Return Values

Examples

Looking for Developer Docs?

We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.

Head to the Developer Section

Copyright © 1997 – 2026 Miva®, Miva Merchant®, MivaPay Vault®, Camp Miva®, Miva Connect®, Vexture℠, Miva, Inc. All Rights Reserved.