library encrypt
Library to help text encryption/decryption
kronos/encrypt
Library to help text encryption/decryption
- Wednesday, May 24, 2017
- by jbreton
- Repository
- 21 Watchers
- 0 Stars
- 4,749 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 9 Versions
- 2 % Grown
encrypt
Library to help encrypt/decrypt text, (*1)
Usage
$aes = new \Kronos\Encrypt\Cipher\AES();
$kms_client = new \Aws\Kms\KmsClient([
'credentials' => [
'key' => 'AWS user key',
'secret' => 'AWS user secret',
],
'region' => "us-east-1",
'version' => 'latest',
]);
$key = new \Kronos\Encrypt\KeyProvider\KMS\KeyDescription();
$key->ciphertextBlob = "Base64EncodedCiphertextBlob";
$kms = new \Kronos\Encrypt\KeyProvider\KMS($kms_client, $key);
$service = new \Kronos\Encrypt\TextCrypt($aes, $kms);
echo $service->decrypt($service->encrypt(file_get_contents($argv[1])));
dev-master
9999999-dev
Library to help text encryption/decryption
Sources
Download
MIT
The Requires
The Development Requires
0.1.5
0.1.5.0
Library to help text encryption/decryption
Sources
Download
MIT
The Requires
The Development Requires
0.2.0
0.2.0.0
Library to help text encryption/decryption
Sources
Download
MIT
The Requires
The Development Requires
1.0.0
1.0.0.0
Library to help text encryption/decryption
Sources
Download
MIT
The Requires
The Development Requires
0.1.4
0.1.4.0
Library to help text encryption/decryption
Sources
Download
MIT
The Requires
The Development Requires
0.1.3
0.1.3.0
Library to help text encryption/decryption
Sources
Download
MIT
The Requires
The Development Requires
0.1.2
0.1.2.0
Library to help text encryption/decryption
Sources
Download
MIT
The Requires
The Development Requires
0.1.1
0.1.1.0
Library to help text encryption/decryption
Sources
Download
MIT
The Requires
The Development Requires
0.1.0
0.1.0.0
Library to help text encryption/decryption
Sources
Download
MIT
The Requires
The Development Requires