-
Notifications
You must be signed in to change notification settings - Fork 150
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
Feature request: Vanity public key #31
Comments
vanity onion keys in what format? hex? base32? base64? something else? there is a thing for just ed25519 keys: https://github.com/Yawning/horse25519 so yeah I think one would need to do different tool than mkp224o for this, rather than hacking it into mkp224o. I'm not going to work on this myself because I'm sorta busy with other stuff and it's much less fun because of annoyances mentioned above. |
I have a personal use-case for vanity monero keypairs, so I would be willing to work on this if I better understood the mp244o codebase. In another project, I came up with a way to abstract the filter for both monero and tor keypairs. It only required two "format-dependent" routines: One routine to convert the filter into a "bitmask" and "filterbits". The bitmask is just a bunch of 1's that represent the bits of the key being filtered (5 bits per char for tor addresses), and the filterbits are the bits needed to recreate the filter in the address format (for tor, the inverse of crockford's base32). The keys would then be filtered by checking if ( PK && bitmask ) == filterbits. The second routine would be to abstract the output formatting of the address from the keypair's bits. For example with tor this means formatting the tor service directory. With monero, this might be something like spitting it out in their custom base32, or working backwards to determine the seedphrase. |
we sorta have this. i don't really know monero's public key format & its encoding, could you summarize that or point to relevant documentation? |
I'd like to be able to generate vanity ed25519 public keys, not just full-blown onion addresses. Is this something that's easily done with the current code base or is this project not a good fit for that?
The text was updated successfully, but these errors were encountered: