ParagonIE_Sodium_Crypto32::secretbox

SummerySummery

XSalsa20-Poly1305 authenticated symmetric-key encryption.

Syntax

ParagonIE_Sodium_Crypto32::secretbox( string $plaintext, string $nonce, string $key )

ParametersParameters

$plaintext

(string) (Required)

$nonce

(string) (Required)

$key

(string) (Required)

ReturnReturn

(string)

SourceSource

File: wp-includes/sodium_compat/src/Crypto32.php


			
Scroll to Top