PHP Classes
elePHPant
Icontem

UID: Generate unique identifier using SHA1 algorithm

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-01-10 (11 years ago) RSS 2.0 feedStarStarStarStar 63%Total: 1,719 This week: 1All time: 2,207 This week: 923Up
Version License Categories
uid 1.0GNU General Publi...Algorithms, Cryptography
Description Author

This is a simple class for generating a unique identifier using the SHA1 algorithm to compute a digest from the combination of several unique and random text values.

It uses the current timestamp with microseconds, Mersenne Twister random number generator, remote port number, remote IP address, remote user agent, URI and script path to generate a 40 character unique identifier.

Picture of Zafar Iqbal
Name: Zafar Iqbal is available for providing paid consulting. Contact Zafar Iqbal .
Classes: 8 packages by
Country: Greece Greece
Age: 42
All time rank: 2682 in Greece Greece
Week rank: 177 Up2 in Greece Greece Equal
Innovation award
Innovation award
Nominee: 2x

Details
class-uid.php
=============

A PHP Class that generates a unique identifier based on SHA1.

The timestamp with microseconds, Mersenne Twister random number generator, GLOBALS and PID are all used to generate a 40 character unique identifier.


ultrasine {AT} gmail {DOT} com
  Files folder image Files  
File Role Description
Plain text file class-uid.php Class Class source
Accessible without login Plain text file readme.txt Doc. Read Me
Plain text file test.php Example Test source

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,719
This week:1
All time:2,207
This week:923Up
User Ratings User Comments (1)
 All time
Utility:78%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:85%StarStarStarStarStar
Examples:78%StarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:846
 
Excellent
7 years ago (kishore kumar)
80%StarStarStarStarStar