|Ratings||Unique User Downloads||Download Rankings|
|72%||Total: 174||All time: 8,648 This week: 274|
|simple-cipher 1.0||GNU General Publi...||5||PHP 5, Conversion|
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
|Version Control||Unique User Downloads||Download Rankings|
|User Ratings||User Comments (2)|