PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   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
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.

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

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:377
This week:0
All time:6,750
This week:455Up