Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic daily Password Generator
Message
From
20/07/2000 12:55:09
Ernie Veniegas
Micro System Solutions, Inc.
Calistoga, California, United States
 
 
To
07/07/2000 16:33:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00389628
Message ID:
00394993
Views:
16
Thanks for the tip Eric. I'll try for our next release.

>>Anyone know of a routine or algorithm that would generate a new maybe unique 1-8 position value based on date?
>>
>
>I do this to be able to give users a single day password to a protected website. All you need is a hardcoded formula to calculate a password based on the date, and to make sure that the formula is not known. Here is a simplified version of my formula:
>
>PROCEDURE CalcPassWord
> LPARA tdSeedDate
> lcCheckString = SYS(2007,DTOC(tdSeedDate) )
> lcPassWord = ""
> FOR i = 1 TO LEN(lcCheckString)
> lcPassWord = lcPassWord + CHR(VAL(SUBS(lcCheckString,i,1)) + 100)
> ENDFOR
> RETURN lcPassWord
>ENDPROC
Ernie Veniegas
Micro System Solutions
... sensible software by design
Previous
Reply
Map
View

Click here to load this message in the networking platform