stevennathaniel

PHP 7 : Membuat Random Text Sebagai Key Untuk Enkripsi AES

Jan 3rd, 2021
1,901
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php  
  2.  
  3.     $salt = bin2hex(openssl_random_pseudo_bytes(22));
  4.  
  5.     echo $salt;
  6.  
  7.  
  8. ?>
RAW Paste Data