marcobarbiero / crypto-js

Automatically exported from code.google.com/p/crypto-js
0 stars 0 forks source link

x64-core.js constructor optimization #114

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. SHA512 is too slow. Slower than any other algorithm I use like Zlib or 
AES256.

What is the expected output? What do you see instead?
It should be as fast or twice. :)

What version of the product are you using? On what operating system?
The latest from SVN

Please provide any additional information below.
It seems constructor is faster if the value init is terminated with "| 0" eg.:
            this.high = high | 0;
            this.low = low | 0;

Original issue reported on code.google.com by a...@rigo.sk on 29 Jan 2014 at 1:29