Mini-keys are generated via sha256-ing a random string, as opposed to the direct random bytes as used by EC_KEY_generate_key. The only change necessary to support this mode of operation would be to replace EC_KEY_generate_key, and to keep track of the original minikey in addition to everything else.
Mini-keys are generated via sha256-ing a random string, as opposed to the direct random bytes as used by EC_KEY_generate_key. The only change necessary to support this mode of operation would be to replace EC_KEY_generate_key, and to keep track of the original minikey in addition to everything else.
https://en.bitcoin.it/wiki/Mini_private_key_format#Decoding https://en.bitcoin.it/wiki/Mini_private_key_format#Creating_mini_private_keys