Questions tagged [base58check]

22 questions
11
votes
2 answers

How many bitcoins have been sent to Base58-invalid addresses?

Some bitcoins have been permanently lost when they are sent the the following addresses. The explanation I've found is that they contain characters that are invalid in…
8
votes
1 answer

Why does vanitygen ban certain letters on testnet?

I'm guessing that vanitygen is more strict or has different rules than production's Base58 rules. Why are some of thse names marked not possible? C:\vanitygen>oclvanitygen -k -o gpukeystestout.txt -i -f gpukeystest.txt -T Prefix 'mdemo1' not…
makerofthings7
  • 12,656
  • 11
  • 60
  • 129
5
votes
1 answer

Does a Vanity Address reduce the randomness / entropy of the private key? Is there cryptographic proof?

Since a vanity address discards many "valid" keys in order to find one that matches a pre-determined string, I think that the "randomness" of the data would be reduced, thus weakening the key. Is there any cryptographic proof that indicates how this…
makerofthings7
  • 12,656
  • 11
  • 60
  • 129
4
votes
2 answers

What would happen if two public keys had the same Base58 hash?

If two different public keys had the same Base 58 hash, what would happen? Could one key spend money in the other account? What would happen to the monies received by the shared base58 hash?
makerofthings7
  • 12,656
  • 11
  • 60
  • 129
4
votes
1 answer

Why does it take a different time to generate a different pattern of the same length in vanitygen?

I've been looking at generating some vanity addresses today, and I found it surprising that the program generating the address predicts that it will take a different amount of tries to compute a vanity address of the same length, but with a…
ThePiachu
  • 42,931
  • 25
  • 138
  • 347
4
votes
2 answers

How do I get to the value in the 'scriptPubKey' part of the transaction ?

How do I get to the value in the 'scriptPubKey' part of the transaction ? The sender knows only the address (1A3XjcuZmcszX2tGoVn1TrMNchuHwdAxZV) so how did he get into 63339ebf4914d964fbc729b0dc4c1a44c4fb8f80 ? I've tried…
Haddar Macdasi
  • 978
  • 1
  • 14
  • 22
3
votes
1 answer

How do I Base58 Checked encode / decode an address in C#? What does "normalize leading zeros" mean?

I am trying to encode and decode a Base58 address in C#. The following function is a start, but it has a few issues: This code does not normalize leading zeros (what does that look like?) If this method is repeatedly called in rapid succession…
makerofthings7
  • 12,656
  • 11
  • 60
  • 129
3
votes
1 answer

Why can addresses be shorter than 34 bytes?

The wiki entry on Address says: Some Bitcoin addresses can be shorter than 34 characters (as few as 27 in theory) and still be valid. [...] These shorter addresses are valid simply because they stand for numbers that happen to start with zeroes,…
Claudiu
  • 447
  • 3
  • 9
2
votes
2 answers

Why are compressed private keys typically longer than their uncompressed counterpart?

From what I understood, compressed private keys are supposed to represent the same secret key, stored more efficiently thus taking up less space. I assume 'more efficiently' has to do with secp256k1 specifics that I'm not aware of, but I'll take…
RocketNuts
  • 1,031
  • 1
  • 9
  • 22
2
votes
2 answers

How does the bip32 version bytes convert to base58?

Converting the BIP32 version bytes - x04\x88\xad\xe4 - from base256 to base58 and base58Check returns 7irrX and 1kz713TZjju, respectively. I thought the version bytes represented xprv. What am I missing? I'm using pybitcointools, if that makes a…
Wizard Of Ozzie
  • 5,268
  • 4
  • 30
  • 63
2
votes
2 answers

What is the correct Base58 encoding for this uncompressed Public Key RipeMD hash with a zeros in bits 31, 32, or 33?

My understanding is that Base58Checked is always 34 bytes long, and isn't going to be less than 34 bytes even if the first or last bytes of the RipeMD are zero. If this statement isn't true, then none of the following question matters. Short…
makerofthings7
  • 12,656
  • 11
  • 60
  • 129
2
votes
1 answer

Probability of Generating a Bitcoin Address with Specific Starting and Ending Characters

I've recently come across a situation where scammers are generating (bitcoin) addresses that have the same starting and ending characters. This is concerning as many people, including myself, often check the starting and ending characters of an…
2
votes
1 answer

ELI5: is it true that Base58 doesn't prevent typo, but Base58check does, really because there is a checksum?

I am reading the book Grokking Bitcoin by Manning 2019. It first said, if John sends the token (bitcoin) to the cafe owner but made a typo in the cafe's address (the PKH), then that token is "burned" and gone forever. Nobody can use it…
1
vote
1 answer

How does Base58Check prefix character prediction work?

I'm trying to implement Base58Check as a learning exercise and I came across the different types of prefixes as summarised here. I wonder however how to arrive in the expected prefix characters from the prefix Byte. Why the same byte can lead to…
1
vote
1 answer

Why does my implementation of hex to Base58check produce different results than the example?

Step 8 of this wiki page gives this hex value: 00010966776006953D5567439E5E39F86A0D273BEED61967F6 Step 9 converts it to this base58 string:16UwLL9Risc3QfPqBUvKofHmBQ7wMtjvM I'm trying to implement the conversion function using the pseudocode from…
1
2