home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!netnews.upenn.edu!netnews.noc.drexel.edu!noc.ocs.drexel.edu!tslopez
- From: tslopez@mcs.Drexel.edu (Scott Lopez)
- Newsgroups: comp.sys.handhelds
- Subject: HP28S PW Generator
- Message-ID: <TSLOPEZ.92Nov20001210@queen.mcs.Drexel.edu>
- Date: 20 Nov 92 05:12:10 GMT
- Sender: news@netnews.noc.drexel.edu
- Distribution: usa
- Organization: Drexel University
- Lines: 31
-
-
- Ok, this is my first post so go easy on me.
- Anyway, I frequent BBS's in the area, and like a good user use a random
- password on them. Well I got tired of making up new ones (my head hurts)
- so I wrote up this little program on my HP28s to make it think for me.
- You can try it if you like, modify it, whatever. It currently will generate
- a 7 character password consisting of uppercase letters and numbers.
- Totally random (as random as the HP is). To get a new one, just press a
- key. Works fine, could be adjusted for length with a little modification.
- Enjoy...
-
- 'Pass' [8D8B] : My program name and checksum
- << RAND RDZ : Randomize the random seed
- 1 3 FOR i : Loop to generate pairs of characters
- RAND 25 * IP 65 + CHR : Generate a random uppercase letter
- RAND 9 * IP ->STR + : Generate a random number & convert to string
- NEXT : Combine the pair and next iteration
- RAND 25 + IP 65 + CHR : Generate last random letter
- + + + : Combine all charcters into 7 char password
- >>
-
- Hope you like it, it's not much. But it does the trick. Any questions,
- comments, modifications are welcome!
-
- Scott Lopez
-
- --
- (__) | Scott J. Lopez tslopez@mcs.drexel.edu
- ( oo _ The Cow Says "Arf!" | or jspectre@aol.com
- /\_| / |
- | All unopened mail will be opened.
-