[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/sodium_compat/src/Core/ -> XSalsa20.php (summary)

Class ParagonIE_Sodium_Core_XSalsa20

File Size: 57 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  xsalsa20()
  xsalsa20_xor()

Functions
Functions that are not part of a class:

xsalsa20($len, $nonce, $key)   X-Ref
Expand a key and nonce into an xsalsa20 keystream.

return: string
param: int $len
param: string $nonce
param: string $key

xsalsa20_xor($message, $nonce, $key)   X-Ref
Encrypt a string with XSalsa20. Doesn't provide integrity.

return: string
param: string $message
param: string $nonce
param: string $key



Generated : Sun Dec 22 08:20:01 2024 Cross-referenced by PHPXref