Post
Topic
Board Announcements (Altcoins)
Re: Nxt :: descendant of Bitcoin - Updated Information
by
Come-from-Beyond
on 16/01/2014, 07:19:07 UTC
Bounty announcement

100'000 NXT will be paid for working JavaScript code that signs and verifies signatures using NRS algo.

- The licence must allow to use the code in any application
- Sign/verify speed must be not lower than 100 signatures per second on a 1 GHz CPU (1 core)
- All the code must be in a single non-obfuscated well-formatted .js file
- Input/output values must be strings like "8302504e4e57c6c65335289879c6915a273d3aae7bd086058e403fcd2bc18341"

The bounty is valid till the 20th of January, 2014 12:00:00 UTC. The complete code must be published in this thread.

Here is requirement to post code here, so...

I've changed base math from long10-based(as in Nxt java sources) to more JS-friendly (https://github.com/kosta/confidential-publishing/blob/master/js/curve25519/curve25519.js), have optimized them and now  my implementation enough fast to met "speed requirement", at least at my computer it require less than 10ms for sign/verify.

https://github.com/moadib/nxt_crypto_js

Any feedback would be appreciated.

Will check it in 4 days.