[cryptography] Javascript scrypt performance comparison

Solar Designer solar at openwall.com
Thu May 7 20:34:18 EDT 2015


On Mon, May 04, 2015 at 11:48:25AM +0200, Fabio Pietrosanti (naif) - lists wrote:
> Also for upcoming implementation extending scrypt concept, like
> yescrypt/yescrypt-lite it would be very interesting to think how to make
> it faster in the context of the browser/javascript/html5.

Taylor Hornby might try implementing yescrypt-lite with SIMD.js this
summer as part of his GSoC project.

https://hacks.mozilla.org/2014/10/introducing-simd-js/

Unfortunately, SIMD.js is lacking 64-bit integer vector elements, so
they will have to be emulated with 32-bit ones (perhaps across pairs of
SIMD vectors), yet this might provide some speedup over scalar code.
Obviously, this version will be less portable.

Alexander


More information about the cryptography mailing list