PHP Classes

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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 377 All time: 6,750 This week: 455Up
Version License PHP version Categories
encryption-bca 1.4GNU General Publi...5.0PHP 5, Cryptography


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.

Picture of Gabriel Almeida
  Performance   Level  
Name: Gabriel Almeida <contact>
Classes: 4 packages by
Country: Brazil Brazil
Age: 26
All time rank: 2188146 in Brazil Brazil
Week rank: 185 Up11 in Brazil Brazil Up

  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  
This week:0
All time:6,750
This week:455Up