WordPress at a glance
function is not described

ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_keygen() public WP 1.0

{} It's a method of the class: ParagonIE_Sodium_Compat{}

No Hooks.

Return

String. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_keygen();

Code of ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_keygen() WP 5.7.1

<?php
public static function crypto_secretstream_xchacha20poly1305_keygen()
{
    return random_bytes(self::CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_KEYBYTES);
}