04-01-2008, 09:02 AM
Registry also can be opened.
encrypt(16 ...) was not a good idea in this case.
If a hacker gets a password that is encrypted for AutoPassword, and he knows that, he can use the password with AutoPassword.
Better encrypt the password using your own secret key (encrypt(9 ...)). And encrypt all your macros that use it.
Even then, a hacker can reveal the password if he can run the macro. To prevent it, the macro itself must ask for a password to run it. For example use inpp.
Encrypted passwords can be stored anywhere. In ini on a network, or in user's registry. Because nobody knows your secret key and therefore cannot decrypt.
Most secure will be to double encrypt passwords.
encrypt(16 ...)
encrypt(9 ...)
...
decrypt(9 ...)
AutoPassword
encrypt(16 ...) was not a good idea in this case.
If a hacker gets a password that is encrypted for AutoPassword, and he knows that, he can use the password with AutoPassword.
Better encrypt the password using your own secret key (encrypt(9 ...)). And encrypt all your macros that use it.
Even then, a hacker can reveal the password if he can run the macro. To prevent it, the macro itself must ask for a password to run it. For example use inpp.
Encrypted passwords can be stored anywhere. In ini on a network, or in user's registry. Because nobody knows your secret key and therefore cannot decrypt.
Most secure will be to double encrypt passwords.
encrypt(16 ...)
encrypt(9 ...)
...
decrypt(9 ...)
AutoPassword
