ParagonIE_Sodium_Core32_Salsa20::salsa20_xor

Advertisement

Syntax Syntax

ParagonIE_Sodium_Core32_Salsa20::salsa20_xor( string $message, string $nonce, string $key )

Parameters Parameters

$message

(Required)

$nonce

(Required)

$key

(Required)

Return Return

(string)

Source Source

File: wp-includes/sodium_compat/src/Core32/Salsa20.php

    public static function salsa20_xor($message, $nonce, $key)
    {
        return self::xorStrings(
            $message,
            self::salsa20(
                self::strlen($message),
                $nonce,
                $key
            )
        );
    }

Advertisement

Advertisement

Leave a Reply