[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

Class ParagonIE_Sodium_Core_Salsa20

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

Defines 5 functions

  core_salsa20()
  salsa20()
  salsa20_xor_ic()
  salsa20_xor()
  rotate()

Functions
Functions that are not part of a class:

core_salsa20($in, $k, $c = null)   X-Ref
Calculate an salsa20 hash of a single block

param: string $in
param: string $k
param: string|null $c
return: string

salsa20($len, $nonce, $key)   X-Ref

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

salsa20_xor_ic($m, $n, $ic, $k)   X-Ref

param: string $m
param: string $n
param: int $ic
param: string $k
return: string

salsa20_xor($message, $nonce, $key)   X-Ref

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

rotate($u, $c)   X-Ref

param: int $u
param: int $c
return: int



Generated : Thu Nov 21 08:20:01 2024 Cross-referenced by PHPXref