WPDev.one
Core Class

ParagonIE_Sodium_Core32_XSalsa20

class ParagonIE_Sodium_Core32_XSalsa20 // Constructor: function Object() { [native code] }

Class ParagonIE_Sodium_Core32_XSalsa20

Methods 2 methods

Method / Return Description
xsalsa20()
string

Expand a key and nonce into an xsalsa20 keystream.

Parameters: $len: mixed, $nonce: mixed, $key: mixed
xsalsa20_xor()
string

Encrypt a string with XSalsa20. Doesn't provide integrity.

Parameters: $message: mixed, $nonce: mixed, $key: mixed

Class Information

Source File
wp-includes/sodium_compat/src/Core32/XSalsa20.php
Advertisement