PHP Classes

Simple Crypt: Replace characters to text unreadable

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 391 All time: 6,647 This week: 673Up
Version License PHP version Categories
simple-crypt 1.0.2GNU General Publi...5.0PHP 5, Text processing


This class can replace characters to text unreadable.

It can encode a given text string by replacing certain characters by others, so the results becomes unreadable.

The class can also decode a previously decoded text by reverting the replaced characters with the original text.

In Portugueses:

SimpleCrypt utiliza a substituição de caracteres para tornar o texto ilegível. O programador tem a liberdade de escolher como quer a saída dos dados através de uma array na classe.

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: 346 Up25 in Brazil Brazil Up



// - Include Class

// - Starting Class
$simpleCrypt = new SimpleCrypt;

// - Example of text
$text = 'Hello World';

// - Encrypt
$crypt = $simpleCrypt->encode( $text );
// - Decrypt
$decrypt = $simpleCrypt->decode( $crypt );

// - Print text Encrypt
print('Encrypted: ' . $crypt);

'<br />');

// - Print text Decrypt
print('Decrypted: ' . $decrypt);

  Files folder image Files  
File Role Description
Accessible without login Plain text file chars.txt Data arrays chars
Accessible without login Plain text file example.php Example Example for use of class
Plain text file simplecrypt.php Class Class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,647
This week:673Up