WordPress at a glance
function is not described

ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_keygen() public WP 1.0

Return a secure random key for use with the AES-256-GCM symmetric AEAD interface.

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

No Hooks.

Return

String. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_keygen();

Code of ParagonIE_Sodium_Compat::crypto_aead_aes256gcm_keygen() WP 5.7

<?php
public static function crypto_aead_aes256gcm_keygen()
{
    return random_bytes(self::CRYPTO_AEAD_AES256GCM_KEYBYTES);
}