I got a bug filed for my extension, since I am using the native hash
functionalities right from the XPCOM (@mozilla.org/security/hash;1)
without any code from me between it, I wonder how to solve this:

md5 hash a UTF-8 encoded string:

"您好"(it means "hello" in Chinese), it yields a different result from
python hashlib and unix md5sum when being processed by the XPCOM
object  @mozilla.org/security/hash;1

Any thought how to go about this?
-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to