sodium_crypto_generichash

Advertisement

Syntax Syntax

sodium_crypto_generichash( string $message, string|null $key = null, int $outLen = 32 )

Parameters Parameters

$message

(string) (Required)

$key

(string|null) (Optional)

Default value: null

$outLen

(int) (Optional)

Default value: 32

Return Return

(string)

Source Source

File: wp-includes/sodium_compat/lib/php72compat.php

    function sodium_crypto_generichash($message, $key = null, $outLen = 32)
    {
        return ParagonIE_Sodium_Compat::crypto_generichash($message, $key, $outLen);
    }

Advertisement

See also See also

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.