dchest / scrypt-async-js

Fast "async" scrypt implementation in JavaScript
http://dchest.github.io/scrypt-async-js/
BSD 2-Clause "Simplified" License
139 stars 26 forks source link

Performance Optimization with SIMD.js: Any chance? #13

Closed fpietrosanti closed 9 years ago

fpietrosanti commented 9 years ago

Solar Designer said on Cryptography@randombit.net mailing list that yescrypt-lite (successor of scrypt) will be implemented in js this summer with a GSoc using SMID.js: https://hacks.mozilla.org/2014/10/introducing-simd-js/

I'm wondering if also scrypt-async-js would not benefit from the same approach?

dchest commented 9 years ago

Yes, it would most likely benefit from it, however I don't think there's a consensus that SIMD.js will ever be standardized. Will see what happens, so far it would be a wasted effort to implement it, but I'm ready to do it once SIMD.js is in browsers.

fpietrosanti commented 9 years ago

@dchest Do you think that, on the basis of scrypt-async-js, would be reasonable to make a yescrypt-lite implementation (that, as far as i understood in my humble surface understanding of crypto share similar concept) ?

dchest commented 9 years ago

@fpietrosanti yes, it would be reasonable (as a separate project).