Searched refs:ciphertext (Results 1 – 6 of 6) sorted by relevance
/php-src/ext/sodium/tests/ |
H A D | crypto_aead.phpt | 20 $ciphertext = sodium_crypto_aead_chacha20poly1305_encrypt($msg, $ad, $nonce, $key); 21 $msg2 = sodium_crypto_aead_chacha20poly1305_decrypt($ciphertext, $ad, $nonce, $key); 22 var_dump($ciphertext !== $msg); 45 var_dump($ciphertext !== $msg); 74 var_dump($ciphertext !== $msg); 98 $ciphertext = sodium_crypto_aead_aes256gcm_encrypt($msg, $ad, $nonce, $key); 100 var_dump($ciphertext !== $msg); 124 $ciphertext = sodium_crypto_aead_aegis128l_encrypt($msg, $ad, $nonce, $key); 126 var_dump($ciphertext !== $msg); 150 $ciphertext = sodium_crypto_aead_aegis256_encrypt($msg, $ad, $nonce, $key); [all …]
|
H A D | crypto_box.phpt | 39 $ciphertext = sodium_crypto_box( 46 $ciphertext = sodium_crypto_box( 70 $ciphertext,
|
/php-src/ext/sodium/ |
H A D | libsodium.c | 320 zend_string *ciphertext; in PHP_FUNCTION() local 357 RETURN_NEW_STR(ciphertext); in PHP_FUNCTION() 364 unsigned char *ciphertext; in PHP_FUNCTION() local 730 zend_string *ciphertext; in PHP_FUNCTION() local 777 unsigned char *ciphertext; in PHP_FUNCTION() local 820 zend_string *ciphertext; in PHP_FUNCTION() local 855 unsigned char *ciphertext; in PHP_FUNCTION() local 1211 zend_string *ciphertext; in PHP_FUNCTION() local 1251 zend_string *ciphertext; in PHP_FUNCTION() local 1291 zend_string *ciphertext; in PHP_FUNCTION() local [all …]
|
H A D | libsodium.stub.php | 549 function sodium_crypto_aead_aes256gcm_decrypt(string $ciphertext, string $additional_data, string $… argument 557 function sodium_crypto_aead_aegis128l_decrypt(string $ciphertext, string $additional_data, string $… 565 function sodium_crypto_aead_aegis256_decrypt(string $ciphertext, string $additional_data, string $n… 572 function sodium_crypto_aead_chacha20poly1305_decrypt(string $ciphertext, string $additional_data, s… 578 function sodium_crypto_aead_chacha20poly1305_ietf_decrypt(string $ciphertext, string $additional_da… 585 function sodium_crypto_aead_xchacha20poly1305_ietf_decrypt(string $ciphertext, string $additional_d… 606 function sodium_crypto_box_open(string $ciphertext, string $nonce, #[\SensitiveParameter] string $k… 614 function sodium_crypto_box_seal_open(string $ciphertext, #[\SensitiveParameter] string $key_pair): … 711 function sodium_crypto_secretbox_open(string $ciphertext, string $nonce, #[\SensitiveParameter] str… 726 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) 28 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0) 47 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0) 65 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0) 89 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0) 137 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0) 156 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0) 327 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0) 354 ZEND_ARG_TYPE_INFO(0, ciphertext, IS_STRING, 0)
|
/php-src/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 29 milliseconds