2017 © Pedro Peláez
 

symfony-bundle crypt-bundle

A symphony bundle for crypt/decrypt strings

image

simplicity-projects/crypt-bundle

A symphony bundle for crypt/decrypt strings

  • Tuesday, November 24, 2015
  • by flylord
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

CryptoBundle

Code copied from http://www.inanzzz.com/index.php/post/rxqs/creating-an-encrypt-decrypt-symfony-bundle-that-depends-on-config-parameters-of-main-application, (*1)

1) Add to AppKernel.php, (*2)

new Simplicity\CryptBundle\SecurityCryptBundle();, (*3)

2) Update config.yml, (*4)

simplicity_crypt: secret: my_secret_value algorithm: rijndael-128 mode: ecb, (*5)

3) Call service, (*6)

//Service $crypto = $this->get('simplicity_crypt.service.cryptor');, (*7)

//Encrypt some value $encrypted = $crypto->encrypt('Aleksandar');, (*8)

//Decrypt the value $decrypted = $crypto->decrypt($encrypted);, (*9)

The Versions

24/11 2015

dev-master

9999999-dev http://www.simplicity.rs

A symphony bundle for crypt/decrypt strings

  Sources   Download

MIT

The Requires

 

by Aleksandar Ilic

24/11 2015

1.0

1.0.0.0 http://www.simplicity.rs

A symphony bundle for crypt/decrypt strings

  Sources   Download

MIT

The Requires

 

by Aleksandar Ilic