Closed dcousens closed 6 years ago
This PR
1..100108
# tests 100108
# pass 100108
# ok
real 0m36.988s
user 0m37.879s
sys 0m0.746s
Master
1..100108
# tests 100108
# pass 100108
# ok
real 6m16.218s
user 6m15.566s
sys 0m1.619s
@jprichardson
@junderw browserify/web is easy enough, but what about React... know any libs that can emulate that env?
Quantitatively, the use of Maxwells trick gave less than 1% speedup in my tests (may even be noise). I'll leave that to another PR if necessary, but, I'm happy with this as-is.
Released as v0.2.0
The question remains whether I add another commit to use the
.sign
and.verify
as provided byelliptic
. AFAIK, theverify
employs gmaxwell's trick, so that would be nice to have.For
.sign
though, we'd have to rely on a non-readable form (IMHO) of RFC6979... or provide it as is with anonceFn
. I'll measure it for comparison.The fact this dropped in 1 to 1 is an absolutely amazing feat for readability/documentation.