Searched refs:ciphertext (Results 1 – 6 of 6) sorted by relevance
/PHP-8.2/ext/sodium/tests/ |
H A D | crypto_aead.phpt | 18 $ciphertext = sodium_crypto_aead_chacha20poly1305_encrypt($msg, $ad, $nonce, $key); 19 $msg2 = sodium_crypto_aead_chacha20poly1305_decrypt($ciphertext, $ad, $nonce, $key); 20 var_dump($ciphertext !== $msg); 22 var_dump(sodium_crypto_aead_chacha20poly1305_decrypt($ciphertext, 'x' . $ad, $nonce, $key)); 25 $msg2 = sodium_crypto_aead_chacha20poly1305_decrypt($ciphertext, $ad, $key, $nonce); 43 var_dump($ciphertext !== $msg); 72 var_dump($ciphertext !== $msg); 96 $ciphertext = sodium_crypto_aead_aes256gcm_encrypt($msg, $ad, $nonce, $key); 97 $msg2 = sodium_crypto_aead_aes256gcm_decrypt($ciphertext, $ad, $nonce, $key); 98 var_dump($ciphertext !== $msg); [all …]
|
H A D | crypto_box.phpt | 39 $ciphertext = sodium_crypto_box( 46 $ciphertext = sodium_crypto_box( 70 $ciphertext,
|
/PHP-8.2/ext/sodium/ |
H A D | libsodium.c | 321 zend_string *ciphertext; in PHP_FUNCTION() local 358 RETURN_NEW_STR(ciphertext); in PHP_FUNCTION() 365 unsigned char *ciphertext; in PHP_FUNCTION() local 731 zend_string *ciphertext; in PHP_FUNCTION() local 778 unsigned char *ciphertext; in PHP_FUNCTION() local 821 zend_string *ciphertext; in PHP_FUNCTION() local 856 unsigned char *ciphertext; in PHP_FUNCTION() local 1212 zend_string *ciphertext; in PHP_FUNCTION() local 1252 zend_string *ciphertext; in PHP_FUNCTION() local 1292 zend_string *ciphertext; in PHP_FUNCTION() local [all …]
|
H A D | libsodium.stub.php | 503 function sodium_crypto_aead_aes256gcm_decrypt(string $ciphertext, string $additional_data, string $… argument 510 function sodium_crypto_aead_chacha20poly1305_decrypt(string $ciphertext, string $additional_data, s… 516 function sodium_crypto_aead_chacha20poly1305_ietf_decrypt(string $ciphertext, string $additional_da… 523 function sodium_crypto_aead_xchacha20poly1305_ietf_decrypt(string $ciphertext, string $additional_d… 544 function sodium_crypto_box_open(string $ciphertext, string $nonce, #[\SensitiveParameter] string $k… 552 function sodium_crypto_box_seal_open(string $ciphertext, #[\SensitiveParameter] string $key_pair): … 649 function sodium_crypto_secretbox_open(string $ciphertext, string $nonce, #[\SensitiveParameter] str… 664 function sodium_crypto_secretstream_xchacha20poly1305_pull(string &$state, string $ciphertext, stri…
|
H A D | libsodium_arginfo.h | 9 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0) 31 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0) 55 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0) 107 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0) 126 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0) 331 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0) 366 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0)
|
/PHP-8.2/ext/openssl/tests/ |
H A D | bug74099.phpt | 14 $ciphertext = openssl_encrypt($plaintext, 'aes-256-gcm', $key, \OPENSSL_RAW_DATA, $iv, $tag, $aad); 15 var_dump($ciphertext);
|
Completed in 35 milliseconds