8

The site is a joke, or at best a confusing attempt to educate. It literally lists all private keys, from low to high, as private keys are just numbers. There are of course way more than can be reasonably computed and stored, so the pages are just generated on the fly. If you ask for private keys starting at number N, it on the fly computes the public keys ...


6

As the original author of the WIF format, honestly: the question had never occurred to me, but I think it does make sense. At the time the only existing Base58Check format was the P2PKH address format for mainnet and testnet, which had a network byte. To create the WIF format I just modified it to set the high bit in the version byte, and changed the payload ...


2

Warning: I don't know your use case, but in general I strongly recommend against ever giving anyone a private key. Even if in this situation they trust you enough, it is bad practice, and without good understanding I believe the risk of making people comfortable with the idea of sharing private keys likely has far worse negative than positive effects. ...


2

It's not possible, practically speaking. A P2PKH Bitcoin address is computed as RIPEMD160(SHA256(publickey)). Since public keys are unique, to find another keypair that results in the same address, you're essentially trying to find a hash collision on SHA256 or RIPEMD160, which is extremely difficult. The most "efficient" way to find such a ...


1

WIF stands for Wallet Import Format which is a standardize scheme to import and export keys from wallets. As such it makes sense to include metadata such as the network byte so the wallet knows what network is the private key for instead of trying it for every supported network. If you only want to encode just the key itself and no metadata you can do so in ...


1

Using this library which is a pure python library with no dependencies (disclaimer: I am the author) >>> from cryptotools import Xprv >>> xprv = Xprv.from_mnemonic('assist excess fox blossom trouble cry must segment arrive stereo weather april pudding tuna change') >>> xpub = xprv.to_xpub() >>> xpub.encode() '...


1

The following code using the python-bip32 lib can show this information. from bip32 import BIP32, HARDENED_INDEX bip32 = BIP32.from_seed(bytes.fromhex("01")) # get master xpriv and xpub master_xpriv = bip32.get_master_xpriv() master_xpub = bip32.get_master_xpub() print("master_xpriv: " + master_xpriv) print("master_xpub: " + ...


Only top voted, non community-wiki answers of a minimum length are eligible