I was wondering how bitcoin public and private keys are generated. E.g., a certain number of characters etc. And how one could tell a litecoin address from a bitcoin address for instance.

1 Answer 1


the private key is only a (very big) integer-number. this number used as private key is all you need to generate a public key with some more or less complex mathematical operations and this private key is also the only thing which must be your secret. anyone can know your address and your public key, no problem. with the public key you can generate the address of the public key. (=>public key and address are not the same.)

a common used format to store a private key is the WIF-format. you can convert a private key to the wif-format and vice versa.

many people call a keypair (containing private- and public key) a "wallet". but technically you don't need any software to have a wallet. you can have a paper wallet for example as long as you do not want so send your funds to have full access to your funds.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.