[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

(no description)

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

Defines 1 class

ParagonIE_Sodium_Core32_ChaCha20:: (6 methods):
  quarterRound()
  encryptBytes()
  stream()
  ietfStream()
  ietfStreamXorIc()
  streamXorIc()


Class: ParagonIE_Sodium_Core32_ChaCha20  - X-Ref

Class ParagonIE_Sodium_Core32_ChaCha20

quarterRound(ParagonIE_Sodium_Core32_Int32 $a,ParagonIE_Sodium_Core32_Int32 $b,ParagonIE_Sodium_Core32_Int32 $c,ParagonIE_Sodium_Core32_Int32 $d)   X-Ref
The ChaCha20 quarter round function. Works on four 32-bit integers.

return: array<int, ParagonIE_Sodium_Core32_Int32>
param: ParagonIE_Sodium_Core32_Int32 $a
param: ParagonIE_Sodium_Core32_Int32 $b
param: ParagonIE_Sodium_Core32_Int32 $c
param: ParagonIE_Sodium_Core32_Int32 $d

encryptBytes(ParagonIE_Sodium_Core32_ChaCha20_Ctx $ctx,$message = '')   X-Ref

return: string
param: ParagonIE_Sodium_Core32_ChaCha20_Ctx $ctx
param: string $message

stream($len = 64, $nonce = '', $key = '')   X-Ref

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

ietfStream($len, $nonce = '', $key = '')   X-Ref

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

ietfStreamXorIc($message, $nonce = '', $key = '', $ic = '')   X-Ref

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

streamXorIc($message, $nonce = '', $key = '', $ic = '')   X-Ref

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



Generated : Sat Nov 2 08:20:01 2024 Cross-referenced by PHPXref