PHP Classes
elePHPant
Icontem

Encryptor: Encrypt and decrypt text by adding key sum

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2013-07-07 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 680 This week: 2All time: 4,554 This week: 514Up
Version License PHP version Categories
encryptor 1.0GNU General Publi...5.0PHP 5, Cryptography
Description Author

This class can be used to encrypt and decrypt text.

It computes the encryption key sum by adding the byte codes of the key string.

The iterates over the text characters to be encrypted and adds the key sum to the code of each character.

The decryption process consists in doing the opposite, i.e. subtracting the key sum value to encrypted data string.

Picture of Wanderson Regis Silva
Name: Wanderson Regis Silva <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 28
All time rank: 2690193 in Brazil Brazil
Week rank: 497 Up43 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Plain text file class.encriptor.php Class The class file
Accessible without login Plain text file example.php Example This is an example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:680
This week:2
All time:4,554
This week:514Up
User Comments (1)