sodium_crypto_aead_aes256gcm_keygen

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_aead_aes256gcm_keygenランダムな AES-256-GCM 暗号化キーを生成する

説明

sodium_crypto_aead_aes256gcm_keygen(): string

sodium_crypto_aead_aes256gcm_encrypt()sodium_crypto_aead_aes256gcm_decrypt() で使うランダムな鍵を生成します。

パラメータ

この関数にはパラメータはありません。

戻り値

256ビット長のランダムな暗号化キーを返します。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top