in reply to popping or shifting a line off a file
In layman terms, what you do is choose a 'seed' phrase and the number of keys to generate. Then you apply a secure hash algorithm to the seed phrase said number of times. In the reference I mentioned before, they talk about MD4. Nowadays, MD5 (and for some applications, MD160) are better options.
With this scheme, your server would just need to keep track of the last succesfully authenticated key and its sequence, as all of them can be generated by using the pass or seed phrase, which might be easier to hide or protect. This has the added benefit that the legitimate users, knowing the seed phrase, could use automated means to generate the required key.
A quick search on CPAN reveals that a lot of the work as already been done.
Hope this helps.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: popping or shifting a line off a file
by nmerriweather (Friar) on Jul 29, 2002 at 01:11 UTC | |
by thor (Priest) on Jul 29, 2002 at 09:27 UTC | |
by cybear (Monk) on Jul 29, 2002 at 10:35 UTC |