sodium_crypto_generichash_keygen

Generate a random generichash key

Description

string sodium_crypto_generichash_keygen()

Generate a random key for use with the generichash API.

Parameters

This function has no parameters.

Return Values

A random 256-bit key.