On Mon, Apr 17, 2006 at 02:49:30PM +0800, Orlando Andico wrote:
> do the following:
> 
> .../show_user.php?userid=12345&ckc=ff4356fd
> 
> the "ckc" parameter is the SHA1 hex hash of the userid, concatenated to a
> secret key. 

or use HMAC-SHA1 if you would to do that in just one go.

HTH
-- 
$_=q:; # SHERWIN #
70;72;69;6e;74;20;
27;4a;75;73;74;20;
61;6e;6f;74;68;65;
72;20;50;65;72;6c;
20;6e;6f;76;69;63;
65;27;:;;s=~?(..);
?=pack q$C$,hex$1;
;;;=egg;;;;eval;;;
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to