How many private keys of BTC wallet
1. The mail cabinet is stolen (the database is stolen)
2. The key is stolen (the private key is stolen)
3. Knowing my home address (the public key is stolen), the lock of the mail cabinet is opened violently (the private key is cracked violently).
the private key is everything and must not be told to anyone
as long as there is a private key, you can re import the wallet and reset the wallet security password
a BTC account can have many addresses, so the least important one is the address. No matter how unimportant, you can't just tell others.
How are bitcoin addresses and private keys generated? Bitcoin uses elliptic curve algorithm to generate public key and private key, and chooses secp256k1 curve. The generated public key is a 33 byte large number, and the private key is a 32 byte large number. The wallet file wallet.dat directly stores the public key and private key. The bitcoin address we use when receiving and sending bitcoin is obtained after the public key is processed by the algorithm. The specific process is that the public key is first processed by SHA-256 algorithm to get 32 byte hash result, then processed by ripemed algorithm to get 20 byte summary result, and then the address we see is obtained through the character conversion process. This character conversion process is the same as that of the private key. The steps are as follows: first, add the version number to the input content (the summary result of 20 bytes for the public key and the large number of 32 bytes for the private key). After two successive SHA-256 algorithms, take the first 4 bytes of the hash result of the last time as the check code and attach it to the back of the input content, and then encode it with base58, Get the string{ RRRRR}
There is no limit on the total amount of use, but there is a limit in theory. It depends on the number of public key digits. A simple high school permutation can calculate the number (an astronomical number); A public key is a very good random number generator. Under the restriction of long enough public key, it is impossible to have plicate public key in theory
the following is the calculation comparison of different length keys in intercepted professional books
private key
is a 256 bit
random number
, which is generated by SHA-256 algorithm
I've never seen the rolling lamp before. The vivid narration of alts makes me have a strong interest in rolling lamp. After new year's day, I look forward to the Lantern Festival
I'm looking forward to the Lantern Festival at last. In the evening, after dinner, I took my brother out to play happily. We ran to the square in one breath, Ho! How many lanterns! Here is a dragon, there is another dragon. Let's go to the street ahead. The lanterns are so colorful. There are red, yellow, purple... Beautiful
at the beginning of rolling lights, the streets became more lively, with the sound of firecrackers, gongs and drums. I saw the dragon lantern like a dragon from the sky
the lion over there seems to be alive. Its fierce appearance can scare you three feet at a glance. What a scary look
this night, there were crackling sounds everywhere, the smell of firecrackers everywhere, singing and laughing everywhere, and the swimming lanterns and flashing lights merged into a sea of lights. Lantern Festival, Lantern Festival, it's really a good one
it was not until midnight that my brother and I reluctantly went home.