Thanks,
Jeremy
You have a couple options:
1. You can use nsISecretDecoderRing.encryptString() and nsISecretDecoderRing.decryptString(). However, I'm not sure how/if that works if the user hasn't defined a master password in Options->Security->Use a master password. Worth investigating, though.
2. You can AES-128 or AES-256 symmetric encryption via aes.js. The only issue then becomes where to store the key. See how I use AES-256 with PasswordMaker here: http://tinyurl.com/pp79t (http://passwordmaker.org/passwordmaker.html also encrypts its cookies with AES-256).
FYI, PasswordMaker is not unlike your SecurePassword Generator.
Regards,
Eric
p.s. how does one get a job at Yahoo! :)
Thanks,
Jeremy
_______________________________________________
dev-extensions mailing list
dev-ext...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-extensions