Core Class
View Source on Trac ↗
Core Class
ParagonIE_Sodium_Core32_ChaCha20
class ParagonIE_Sodium_Core32_ChaCha20
// Constructor: function Object() { [native code] } Class ParagonIE_Sodium_Core32_ChaCha20
Methods 6 methods
| Method / Return | Description |
|---|---|
| quarterRound() array<int, | The ChaCha20 quarter round function. Works on four 32-bit integers.
Parameters: $a: ParagonIE_Sodium_Core32_Int32, $b: ParagonIE_Sodium_Core32_Int32, $c: ParagonIE_Sodium_Core32_Int32, $d: ParagonIE_Sodium_Core32_Int32 |
| encryptBytes() string | No description available.
Parameters: $ctx: ParagonIE_Sodium_Core32_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/Core32/ChaCha20.php
Advertisement