PHP - Manual: sodium_crypto_generichash_keygen
2024-12-20
(PHP 7 >= 7.2.0, PHP 8)
sodium_crypto_generichash_keygen — Generate a random generichash key
Generate a random key for use with the generichash API.
此函数没有参数。
A random 256-bit key.
官方地址:https://www.php.net/manual/en/function.sodium-crypto-generichash-keygen.php