encrypt.php 361 B

123456789101112131415161718
  1. <?php
  2. return [
  3. 'default' => [
  4. 'type' => 'mcrypt',
  5. /**
  6. * The following options must be set:
  7. *
  8. * string key secret passphrase
  9. * integer mode encryption mode, one of MCRYPT_MODE_*
  10. * integer cipher encryption cipher, one of the Mcrpyt cipher constants
  11. */
  12. 'cipher' => MCRYPT_RIJNDAEL_128,
  13. 'mode' => MCRYPT_MODE_NOFB,
  14. ],
  15. ];