sodium_crypto_stream_keygen

(PHP 7 >= 7.2.0, PHP 8)

sodium_crypto_stream_keygen — 임의의 sodium_crypto_stream 키를 생성합니다.


설명

sodium_crypto_stream_keygen(): string

sodium_crypto_stream()sodium_crypto_stream_xor()와 함께 사용할 키를 생성합니다.


매개변수

이 함수에는 매개변수가 없습니다.


반환 값

암호화 키(256비트).