ParagonIE_Sodium_Core_ChaCha20_IetfCtx::__construct

Advertisement

Summery Summery

ParagonIE_Sodium_Core_ChaCha20_IetfCtx constructor.

Syntax Syntax

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

Parameters Parameters

$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 4 0x00 bytes.

Default value: ''

Source Source

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


			

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.