Re: PIN System
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


sci.crypt archive

Re: PIN System

From: <arachnidster@gmail.com>
Date: Tue Sep 13 2005 - 23:05:10 CEST

Milan VXdgsvt wrote:
> You don't actually need a "digital signature", since only you will be
> checking the signature. What you need is so simple I think it does not
> even have a term of its own. Simply use a cipher or a keyed hash:
> You could be able to encode the plain text in 10 digits, then you have
> 6 for the signature. I think it could be enough to encrypt the public
> part (the 10 digits) with your secret key, and use as many bits of the
> result as necessary to make 6 digits. Of course, the more the better (6
> digits mean 1:1000000 chance of being robbed).

It's called a MAC - a Message Authentication Code.
Received on Thu Sep 29 21:54:39 2005