PHP Classes
Icontem

Class: Hash


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Julien PACHET  >  Hash  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Hash Support forum
Base name: class_hash
Description: Store and validate hashes for data authentication
Related top rated classes: ,
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 1717 users
All time rank: 1583
Week users: 1 user
Week rank: 3666
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Julien PACHET
Name: Julien PACHET <e-mail contact>
Published packages: 15 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Home page: http://www.pachet.com/julien
Age: 33
All time rank: 27
Week rank: 87

Groups

Group folder image Cryptography Encrypting, decrypting and hashing data View top rated classes
Group folder image Validation Validation algorithms View top rated classes
Group folder image Security Security protection and attack detection View top rated classes

Detailed description

This class is meant to create hash strings that are used as keys to store private data.

The hash strings and the private data are stored in a database table so it can verified securely only on the server side. This capability can be for instance to prevent link stealing.

You may construct an hash string from:

- Session id of the user
- Private data of the server
- Private data of the web site
- An item to check
- Timestamp of a query
- A maximum number of accesses
- A maximum duration

Next, in another page, the class can check whether the hash is valid by passing as parameter in the UL, depending on:

- The item to check
- The session id of the user
- The private data of the server
- The private data of the Web site
- The moment when the has was saved in database
- The moment and the number of the access

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

Link Description
class_hash.png picture of the algorithm validation
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file biblio_mysql.inc.php Aux. Function library to manage mysql database
Plain text file class_hash.inc.php Class base class source
Plain text file hash_check.php Example Second page to check the hash and let access to the ressource
Plain text file hash_start.php Example Start page with the link to the check page with the resource
Download all files: class_hash.tar.gz class_hash.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products