Help: Does anyone know of an XPCOM component that will encrypt/decrypt
a XUL string using RSA encryption.

I can do it using javascript RSA libraries <http://www-cs-
students.stanford.edu/~tjw/jsbn/>, but they are too slow (250ms) when
decrypting (I need to decrypt a bunch of strings (~30) at a time).

I am lead to believe that the NSS component <http://www.mozilla.org/
projects/security/pki/nss/nss-3.11/nss-3.11-algorithms.html> contains
the appropriate functionality (RSA keygen/encryption/decryption) but I
don't know how to access it from a XUL application.

I've also found the WeaveCrypto XPCOM component used by mozilla weave
<http://labs.mozilla.com/projects/weave/> which contains AES
encryption but also an RSA generateKeyPair function, but as far as I
can tell does not encrypt or decrypt using RSA, it only generates a
key pair?

Thanks
Karl
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to