CryptUtils.php 208 B

12345678
  1. <?php
  2. class CryptUtils{
  3. static function aesDerypt($encrypt, $secret){
  4. $result = openssl_decrypt(base64_decode($encrypt), 'AES-128-ECB', $secret, OPENSSL_RAW_DATA);
  5. return $result;
  6. }
  7. }