PHP Classes

shaCrypt: Encrypt and decrypt data using SHA1 hashes of keys

Recommend this page to a friend!

  Author Author  
Picture of Mark Holtzhausen
Name: Mark Holtzhausen <contact>
Classes: 2 packages by
Country: South Africa South Africa
Age: 47
All time rank: 209114 in South Africa South Africa
Week rank: 606 Up6 in South Africa South Africa Up

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can be used to encrypt and decrypt data using SHA1 hashes of keys.

It takes a string of data and applies several functions to scramble the data. Then it uses an SHA1 has of the key to encrypt the scrambled data by using the XOR function.

The class can also do the opposite, i.e. apply the SHA1 hash of the key to decrypt the encrypted data. Then it unscrambles the data using functions that invert the result of the original data scrambling.

To use this class, include the shaCrypt.php file.
For encryption $cryptString=shaCrypt::encode([string],[pass],[boolean:return as base64 encoded]);
For decryption $string=shaCrypt::encode([CryptString],[pass],[boolean:first base64 decode]);

  Classes of Mark Holtzhausen  >  shaCrypt  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: shaCrypt
Base name: shacrypt
Description: Encrypt and decrypt data using SHA1 hashes of keys
Version: 1.1
PHP version: 4.2
License: Freeware
All time users: 913 users
All time rank: 3869
Week users: 0 users
Week rank: 296 Equal
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Cryptography Encrypting, decrypting and hashing data View top rated classes

  User ratings  
Not enough user ratings

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Plain text file shaCrypt.class.php Class shaCrypt Class
Accessible without login Plain text file Readme.txt Doc. Usage Instructions

Install with Composer Install with Composer - Download Download all files: shacrypt.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
For more information send a message to info at phpclasses dot org.