crypto_onetimeauth

The crypto_onetimeauth() function authenticates a message 'msg' using a secret key 'key'. The function returns an authenticator 'output'.

void
crypto_onetimeauth
()
(
ubyte[] output
,
const(ubyte)[] msg
,
const(ubyte)[] key
)

Parameters

output ubyte[]

authenticator, slice size must be at least crypto_onetimeauth_BYTES, extra ignored

msg const(ubyte)[]

= message

key const(ubyte)[]

= secret key, slice size must be at least crypto_onetimeauth_KEYBYTES, extra ignored

Return Value

Type: void

authenticator in 'output'

Meta