One-Time Password Generator ver 1.1

The program running on an emulator

A program for portable devices supporting Java 2 Micro Edition (almost all recent mobile phones) generating one-time access passwords (eg. for s/key or OPIE).

A mobile with such a program may be not bad an alternative for carrying passwords printed on a paper strip, especially when there's a lot of them.

OTPGen stores all information about accounts except for pass-phrase. It also automatically decreases sequence number after each use. All one has to do is choose an account and enter a proper pass-phrase to generate a password.

In spite of that, starting the program, entering the pass-phrase on phone keypad, waiting for password to be computed1 may be a little irritating. In practice paper sheets may prove to be a better solution (not for the first time), but it wouldn't hurt to have this program on the phone for showing-off ;]

The generator is compatible with RFC 2289 which means that it supports computing passwords with MD4, MD5 and SHA1 hashes. The results are presented both as short words and hexadecimal numbers.

1 computing SHA-1 hashes may be slow on some mobiles.