[ 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.

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

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

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



Generated: Mon Jul 22 01:00:03 2019 Cross-referenced by PHPXref 0.7.1