PHP Classes

File: manual.txt

Recommend this page to a friend!
  Classes of Dave Smith   Image Key Cypher   manual.txt   Download  
File: manual.txt
Role: Documentation
Content type: text/plain
Description: Usage Documentation
Class: Image Key Cypher
Encrypt and decrypt text using images for the key
Author: By
Last change: version update to 1.1
Date: 6 years ago
Size: 1,358 bytes
 

Contents

Class file image Download
Class: imageKey Version: 1.1 9/29/2017 Copyright 2017 Wagon Trader, All Rights Reserved Description: This class will encrypt and decrypt text using an image as the cypher key. It will replace the base 64 latin letters and numbers 0 through 9. Files: imagekey.class.php - Main class example.php - Simple application example /testimage - folder contains images used in the example. These are public domain icons from the famfam set. /msg-crypt - folder contains sample code for using remote images as keys. Installation: Upload files to a web accessible location on your server (eg. public_html) Configuration: No configuration needed. The following properties can be set in the class file to fit your needs: $imgPath = A default path to the key image(s). $msgDelim = Delimeter to seperate encrypted characters. This should not be part of the base 64 characters or anything that will be used in a message body. By default it is set to the tilde. Usage: Refer to example.php file for a simple usage example. Refer to imagekey.class.php for available methods and their usage. Changelog 1.1 - Fixed issue where curl results where not being properly encoded - Added ability to turn off peer verification on ssl using curl - Added error handling on key generation 1.0 Initial release