You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Johansten on Keybase had some good suggestions for improving the speed here:
Gotcha.. Quick thoughts:
You don't need to randomize more than once. The first thing that ed25519 does with the seed anyway is run it through a hash. You can just += 1 for all the following seeds.
You don't need to deserialize the privkey until you know the pubkey was a match
You don't need to do the match in base32, convert your needle to binary instead and match it that way. You probably need a mask first, since you might end up with bitstrings w/ lengths that aren't multiples of eight.
In Update dependencies #3, you don't need to calculate the checksum unless you have a partial match already
The text was updated successfully, but these errors were encountered:
Johansten on Keybase had some good suggestions for improving the speed here:
Gotcha.. Quick thoughts:
You don't need to randomize more than once. The first thing that ed25519 does with the seed anyway is run it through a hash. You can just += 1 for all the following seeds.You don't need to deserialize the privkey until you know the pubkey was a matchIn Update dependencies #3, you don't need to calculate the checksum unless you have a partial match alreadyThe text was updated successfully, but these errors were encountered: