2017 © Pedro Peláez
 

library cryptopad

This component provides a secure encryption using AES-256-CBC..

image

steein/cryptopad

This component provides a secure encryption using AES-256-CBC..

  • Sunday, January 22, 2017
  • by Steein
  • Repository
  • 0 Watchers
  • 0 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Steein CryptoPad

This component provides a secure encryption using AES-256-CBC., (*1)

Version PHP : >= 7.0, (*2)

$crypto = new \SteeinCrypt\CryptoPad();

//Test key and global key
$key        = 'rUhidagNflImJ3wB';
$global_key = '%31.1e$i86e$f!8jz';

Standard encryption text

$encrypt = $crypto->encrypt('default text', $key);
echo $encrypt;

Standard decryption text

$decrypt = $crypto->decrypt($encrypt, $key);
echo $decrypt;

Encryption and Decryption of text in base64

$encryptBase64 = $crypto->encryptBase64('base64_encrypt', $key, true);
$crypto->decryptBase64($encryptBase64, $key, true);

Encryption using the global key

$global_crypt = $crypto
    ->setKey($global_key)
    ->encrypt('default_text', $key);
$crypto->decrypt($global_crypt, $key);

Support or Contact

  • Author: Shamsudin Serderov
  • Version Library: 1.0.0
  • Email: sourcecode@steein.ru

The Versions

22/01 2017

dev-master

9999999-dev http://sourcecode.steein.ru

This component provides a secure encryption using AES-256-CBC..

  Sources   Download

MIT

The Requires

  • php ^7.0

 

encrypt crypto crypt steein steein cryptopad

22/01 2017

1.1

1.1.0.0 http://sourcecode.steein.ru

This component provides a secure encryption using AES-256-CBC..

  Sources   Download

MIT

The Requires

  • php ^7.0

 

encrypt crypto crypt steein steein cryptopad