sodium_crypto_stream_keygen
(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_stream_keygen — Generate a random sodium_crypto_stream key.
Description
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).
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
