Skip to main content

Module iota::hmac

Function hmac_sha3_256

@param key: HMAC key, arbitrary bytes. @param msg: message to sign, arbitrary bytes. Returns the 32 bytes digest of HMAC-SHA3-256(key, msg).

public fun hmac_sha3_256(key: &vector, msg: &vector): vector<u8>

Implementation

public native fun hmac_sha3_256(key: &vector, msg: &vector): vector<u8>;