A system and method that generates a password and places that password in a password input field of a running computer software application. The password input field is accessed by a computer that has a user interface. In a first embodiment of the invention, an electronic device is connected to the computer. The electronic device can generate a password as a random long string of characters. A communications link is established between the electronic device and the computer. The electronic device causes the user interface of the computer to lock or otherwise become disabled. The electronic device then generates a password. The password is entered into said password input prompt via said communications link while said user interface is disabled. The password is later identified with an identification code so that the same password can be recalled in the future.