Tyler Close wrote:
Is the SHA-1 functionality in Firefox accessible to Javascript code in
an extension? So far, all the extensions I've found that use SHA-1
include the SHA-1 algorithm implemented in Javascript. Is this the
only option?

I believe Mozilla exports the crypto algorithms implemented in the NSS libraries via the nsCrypto class (or some other class defined under mozilla/security/manager). So if SHA-1 is not exported by nsCrypto, it may just involve modifying nsCrypto to do that.

Note: I am not very familiar with the Mozilla code base, so
my answer may not be 100% accurate.  I'm just trying to help.

Wan-Teh

_______________________________________________
mozilla-crypto mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-crypto

Reply via email to