Download .zip |
Info | Example | View files (4) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2016-11-17 (2 years ago) | 72% | Total: 163 | All time: 8,620 This week: 346 |
Version | License | PHP version | Categories | |||
simple-cipher 1.0 | GNU General Publi... | 5 | PHP 5, Conversion |
Description | Author | |
This class can encrypt and decrypt text by mapping characters. |
|
Class: simpleCipher Version: 1.0 11/17/2016 Copyright 2015 Wagon Trader, All Rights Reserved Description: This class will encrypt and decrypt text using a cipher that determines the replacement character by a mapped character and position in the message. Since the position is also considered, common words like 'the' will always be different in encrypted message. Files: simplecipher.class.php - Main class example.php - Simple application example Installation: Upload files to a web accessible location on your server (eg. public_html) Configuration: No configuration needed. If you use this in production, you will want to generate and save a new map. Simply run the following code in a script. <?php include('simplecipher.class.php'); $cipher = new simpleCipher(); echo $cipher->generateMap(true); ?> Copy the new map and use it to replace the $cipherMap variable in class. Usage: Refer to example.php file for a simple usage example. Refer to simplecipher.class.php for available methods and their usage. Changelog 1.0 Initial release |
Files |
File | Role | Description |
---|---|---|
example.php | Example | Usage Example |
license.txt | Lic. | License |
manual.txt | Doc. | Documentation |
simplecipher.class.php | Class | Main Class |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | User Comments (2) | |||||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.