sodium_crypto_stream_keygen

Generate a random sodium_crypto_stream key.

Description

string sodium_crypto_stream_keygen()

Generate a key for use with sodium_crypto_stream and sodium_crypto_stream_xor.

Parameters

This function has no parameters.

Return Values

Encryption key (256-bit).