PHP Classes

Signature: Generate signatures that identify the current user

Recommend this page to a friend!
  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 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 639 All time: 4,820 This week: 676Up
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.

  Performance   Level  
Name: Lopo Lencastre de ... is available for providing paid consulting. Contact Lopo Lencastre de ... .
Classes: 3 packages by
Country: Portugal Portugal
Age: 51
All time rank: 107414 in Portugal Portugal
Week rank: 555 Up13 in Portugal Portugal Up

======== 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  
This week:0
All time:4,820
This week:676Up
User Comments (1)
Hi !! Its a very good and useful class .
8 years ago (Josť Filipe Lopes Santos)