PHP Classes
elePHPant
Icontem

Encryptor: Encrypt and decrypt text by adding key sum

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 618 This week: 1All time: 4,678 This week: 1,279Up
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: 26
All time rank: 2701201 in Brazil Brazil
Week rank: 995 Up76 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:618All time:4,678
 This week:1This week:1,279Up
 User Comments (1)