crypto.php 956 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. return
  3. [
  4. /**
  5. * ---------------------------------------------------------
  6. * Default
  7. * ---------------------------------------------------------
  8. *
  9. * Default configuration to use.
  10. */
  11. 'default' => 'openssl',
  12. /**
  13. * ---------------------------------------------------------
  14. * Configurations
  15. * ---------------------------------------------------------
  16. *
  17. * You can define as many cryptography configurations as you want.
  18. *
  19. * The supported cryptography libraries are: "openssl".
  20. *
  21. * library: Cryptography library you want to use.
  22. * cipher : The cipher method to use for encryption.
  23. * key : Key used to encrypt/decrypt data. You should NOT use the key included with the framework in a production environment!
  24. */
  25. 'configurations' =>
  26. [
  27. 'openssl' =>
  28. [
  29. 'library' => 'openssl',
  30. 'cipher' => 'AES-256-CTR',
  31. 'key' => 'hex:3462f179ba7b6606a60bbfa160bc7ff857ee91ad7850c97562229dc7228e5e49',
  32. ],
  33. ],
  34. ];