Results of 1 - 1 of about 1 for calcmac (0.001 sec.)
- openssl_encrypt — データを暗号化する | PHP 8.3 9414
- openssl_encrypt (PHP 5 >= 5.3.0, PHP 7, PHP 8) openssl_encrypt — データを暗号化する 説明 function openssl_encrypt ( #[ \SensitiveParameter ] string $data , string $cipher_algo , #[ \SensitiveParameter ] string $passphrase , int $options = 0
... ha2len ); $original_plaintext = openssl_decrypt ( $ciphertext_raw , $cipher , $key , $options = OPENSSL_RAW_DATA , $iv ); $calcmac = hash_hmac ( 'sha256' , $ciphertext_raw , $key , $as_binary = true ); if ( hash_equals ( $hmac , $calcmac )) // timing at ...
-
https://man.mtool.work/php/8.3/function.openssl-encrypt.html
PREV
1
NEXT