ParagonIE_Sodium_Compat::crypto_generichash_keygen

Advertisement

Syntax Syntax

ParagonIE_Sodium_Compat::crypto_generichash_keygen()

Return Return

(string)

Source Source

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

    public static function crypto_generichash_keygen()
    {
        return random_bytes(self::CRYPTO_GENERICHASH_KEYBYTES);
    }

Advertisement

Advertisement

Leave a Reply