PHP Classes

Signature: Generate signatures that identify the current user

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-02-23 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 634 All time: 4,732 This week: 1,136Up
Version License PHP version Categories  
safe_signature 1.0GNU Lesser Genera...5.0HTTP, PHP 5, Cryptography
Description Author  

This class can be used to generate signatures that identify the current user.

It can determine serveral details that identify the current user like it browser, operating system, IP address among others, and generates hash that can be used to determine if the user is the same in subsequent accesses.

Picture of Lopo Lencastre de Almeida
  Performance   Level  
Name: Lopo Lencastre de ... is available for providing paid consulting. Contact Lopo Lencastre de ... .
Classes: 3 packages by
Country: Portugal Portugal
Age: 49
All time rank: 104314 in Portugal Portugal
Week rank: 1542 Down20 in Portugal Portugal Down

======== OWNERSHIP & LICENSING ======== 

Simple and easy secure encrypted unique signature
Copyright 2008 Lopo Lencastre de Almeida, iPublicis - Internet Agency, Portugal <>

Version 1.0, first public release
Licensed under GNU Lesser General Public License v3 <>

======== REQUIREMENTS ======== 

   1. PHP 5.x
   2. PEAR Crypt HMAC
   3. PEAR Net User Agent

======== USAGE ======== 

Basically this algorithm provides a unique signature for a specific visitor.
Further information is inside the class file and the sample file.


   // Crypt HMAC2 Functions
   require_once ('PEAR/Crypt/HMAC2.php');

   // Crypt Net User Agent Functions
   require_once ('PEAR/Net_UserAgent/detect.php');

   // Our Class
   require_once 'class.signature.php';    

   // Instatiate the class
   $sign = new signature();

   // Create new signature
   $signature = $sign->create();
  • signature.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file signature.php Example Example of usage. Check code due to location of your PEAR packages.
Plain text file class.signature.php Class The class
Accessible without login Plain text file README.txt Doc. Read me file. Documentation is inside the code itself.

 Version Control Unique User Downloads Download Rankings  
 0%Total:634All time:4,732
 This week:0This week:1,136Up
 User Comments (1)  
Hi !! Its a very good and useful class .
6 years ago (Josť Filipe Lopes Santos)