Core Class
View Source on Trac ↗
Core Class
ParagonIE_Sodium_Core_ChaCha20
class ParagonIE_Sodium_Core_ChaCha20
// Constructor: function Object() { [native code] } Class ParagonIE_Sodium_Core_ChaCha20
Methods 7 methods
| Method / Return | Description |
|---|---|
| rotate() int | Bitwise left rotation
Parameters: $v: mixed, $n: mixed |
| quarterRound() array<int, | The ChaCha20 quarter round function. Works on four 32-bit integers.
Parameters: $a: mixed, $b: mixed, $c: mixed, $d: mixed |
| encryptBytes() string | No description available.
Parameters: $ctx: ParagonIE_Sodium_Core_ChaCha20_Ctx, $message: mixed |
| stream() string | No description available.
Parameters: $len: mixed, $nonce: mixed, $key: mixed |
| ietfStream() string | No description available.
Parameters: $len: mixed, $nonce: mixed, $key: mixed |
| ietfStreamXorIc() string | No description available.
Parameters: $message: mixed, $nonce: mixed, $key: mixed, $ic: mixed |
| streamXorIc() string | No description available.
Parameters: $message: mixed, $nonce: mixed, $key: mixed, $ic: mixed |
Class Information
Source File
wp-includes/sodium_compat/src/Core/ChaCha20.php
Advertisement