dev-master
9999999-dev https://github.com/QBonaventure/Inner-Cryptographysimple cryptography service
BSD-3-Clause
The Requires
- php ^5.3 || ^7.0
zf2 cryptography
Wallogit.com
2017 © Pedro Peláez
simple cryptography service
This service provides methods to encrypt/decrypt datas, both in a simple way or with a stronger hash comparison., (*1)
./vendor/ directory.```json
"require": {
// ...
"qbonaventure/Inner-Cryptography": "dev-master"
}
"autoload": {
"psr-4": {// ...
"QBonaventure\\InnerCryptography\\": "vendor/qbonaventure/inner-cryptography/src/"
}
}
```
Enabling it in your {application|module}.config.phpfile., (*2)
<?php
return array(
// ...
'service_manager' => array(
'factories' => array(
// ...
'CryptographyInterface' => 'QBonaventure\InnerCryptography\ServiceFactory',
),
),
// ...
);
Copy config/cryptography.global.php.dist to your config directory, (*3)
```php
<?php
return array(
'cryptography' => array(
'key' => '',
'iv' => '',
'method' => 'aes-512-cbc',
'hashAlgo' => 'sha256',
'hashCost' => null,
),
);
```
simple cryptography service
BSD-3-Clause
zf2 cryptography