ParagonIE_Sodium_Core_ChaCha20_Ctx::__construct

SummerySummery

ParagonIE_Sodium_Core_ChaCha20_Ctx constructor.

Syntax

ParagonIE_Sodium_Core_ChaCha20_Ctx::__construct( string $key = '', string $iv = '', string $counter = '' )

ParametersParameters

$key

(string) (Optional) ChaCha20 key.

Default value: ''

$iv

(string) (Optional) Initialization Vector (a.k.a. nonce).

Default value: ''

$counter

(string) (Optional) The initial counter value. Defaults to 8 0x00 bytes.

Default value: ''

SourceSource

File: wp-includes/sodium_compat/src/Core/ChaCha20/Ctx.php


			
Scroll to Top