Crypto code tends to be slower than people would like in JavaScript. SunSpider could use some crypto test cases.
Created attachment 16775 [details] crypto tests: AES, MD5 and SHA-1
Comment on attachment 16775 [details] crypto tests: AES, MD5 and SHA-1 Looks fine. As I noted in IRC, the only issues I could foresee are 1. polluting the global object (and thus putting memory pressure on later tests) and 2. none of these test check correctness (to make sure they don't break in the future). A simple comparison of original plain and decrypted text in aes, and comparison with known-good hash values for md5 and sha1. But none of these are major issues, and you should feel free to address them later.
This was landed in r26858.