asmcrypto / asmcrypto.js

JavaScript Cryptographic Library with performance in mind.
MIT License
659 stars 182 forks source link

Fix check to only run aes_init once #147

Closed twiss closed 6 years ago

twiss commented 6 years ago

aes_init was taking up the grunt of the time in a toy benchmark of encrypting multiple small messages, so this should result in a decent performance improvement.