-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving scrypt-async-js with specific WebGL optimized mixing functions #2
Comments
Hey. Thanks for your interest =) SHA256, HMAC etc take too little time comparing with salsa. Realize, that you need about 5 graphic calls to implement SHA256 and 150k for Salsa. You need 70 bytes for SHA256 and 128kb (131072 bytes) for salsa. So, that are main indicators, why webcrypto primitives wouldn't help. There are still several approaches for WebGL scrypt:
|
@Kukunin Thanks to you for your research in this topic with such an hackish approach! ;-)
|
No strict rules. I just tested on my notebook's Intel HD 4400 card, and desktop's Radeon HD 7950. If you increase the shader complexity a bit, they will stop to work on Intel HD 4400, while will continue on HD 7950. There are no strict rules. It seems to don't work in latest IE at all.
Glad to know, I haven't heard it before. Maybe, when I'll have some free time, I'll take a look |
Hi Kukunin,
your WebGL-scrypt is a very cool project, smart idea, you're a web/js/crypto ninja.
I opened a discussion on performance comparison/profiling of JS scrypt libraries:
http://lists.randombit.net/pipermail/cryptography/2015-May/007234.html
We are now using scrypt-async-js (https://github.com/dchest/scrypt-async-js/blob/master/scrypt-async.js) and we where discussing performance improvements opportunities dchest/scrypt-async-js#9 .
Regarding the primitives used:
I wanted to ask you think that only the SalsaXOR and the BlockMix functions can become entirely WebGL done/optimized.
Would it be doable/possible/make-sense to have those functions only available as WebGL implemented?
The text was updated successfully, but these errors were encountered: