[add] Crypto methods

This commit is contained in:
2018-08-04 20:37:53 -06:00
parent 9f3ff51798
commit 5ef983b4cc
3 changed files with 102 additions and 0 deletions

View File

@@ -15,5 +15,13 @@ return [
'path' => isset($_ENV['docker']) ? 'php://stdout' : __DIR__ . '/../logs/app.log',
'level' => \Monolog\Logger::DEBUG,
],
// Cryptography settings
'cryptography' => [
'encryptionAlgorithm' => 'AES-256-CBC',
'encryptionPassword' => '7de431684c34cf2c898268cff71392f38c4175dde050c9ee69502b81571484e0',
'passwordHashCost' => '12',
'ivSize' => 16, // 128 bits
],
],
];