encrypt.php 406 B

1234567891011121314151617
  1. <?php defined('SYSPATH') OR die('No direct script access.');
  2. return array(
  3. 'default' => array(
  4. /**
  5. * The following options must be set:
  6. *
  7. * string key secret passphrase
  8. * integer mode encryption mode, one of MCRYPT_MODE_*
  9. * integer cipher encryption cipher, one of the Mcrpyt cipher constants
  10. */
  11. 'cipher' => MCRYPT_RIJNDAEL_128,
  12. 'mode' => MCRYPT_MODE_NOFB,
  13. ),
  14. );