[ Index ]

PHP Cross Reference of WordPress

title

Body

[close]

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

Class ParagonIE_Sodium_Core32_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: Fri Mar 29 01:00:02 2024 Cross-referenced by PHPXref 0.7.1