PHP Classes
elePHPant
Icontem

Encryption Class BCA: Encrypt and decrypt data using Rijndael 256 cipher

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-05-16 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 368 All time: 6,496 This week: 753Up
Version License PHP version Categories
encryption-bca 1.4GNU General Publi...5.0PHP 5, Cryptography
Description Author

This class can encrypt and decrypt data using Rijndael 256 cipher.

It can take a given data string and encrypts it using a given secret key. Some characters are switched to obfuscate the result. The encrypted result is returned encoded with base64 algorithm.

The class can also do the opposite, i.e. decrypt a previously encrypted data string with the same class using the same secret key.

In Portuguese:

Encryption Class usa MCRYPT RIJNDAEL 256 é MODE ECB com chave pessoal para criptografia e descriptografia de texto em base64.

Depois da criptografia, a classe Encryption usa uma função para inverte os caracteres da criptografia tornando-a mais segura.

A função privado inverseEncryption() da classe, inverte os caracteres com strrev() depois divide em 3 variáveis ABC, é monta em ordem BCA.

A função privado reverseEncryption() da classe, remonta os caracteres para a descriptografia.

  Performance   Level  
Name: Gabriel Almeida <contact>
Classes: 5 packages by
Country: Brazil Brazil

  Files folder image Files  
File Role Description
Plain text file Encryption.php Class Class source of functions to encrypt
Accessible without login Plain text file example.php Example Example class to use Encryption

 Version Control Unique User Downloads Download Rankings  
 0%
Total:368
This week:0
All time:6,496
This week:753Up