ParagonIE_Sodium_Compat::crypto_stream_keygen

Advertisement

Summery Summery

Return a secure random key for use with crypto_stream

Syntax Syntax

ParagonIE_Sodium_Compat::crypto_stream_keygen()

Return Return

(string)

Source Source

File: wp-includes/sodium_compat/src/Compat.php

    public static function crypto_stream_keygen()
    {
        return random_bytes(self::CRYPTO_STREAM_KEYBYTES);
    }

Advertisement

Advertisement

Leave a Reply