Questions tagged [base58check]
The base58check tag has no usage guidance.
22
questions
0
votes
1
answer
117
views
How to use the base58 in c++
its been a while after i done with my python bitcoin miner
And i realize that python is slower to do mining stuff, so i decided to rebuild it in c++ as you guys know c++ the faster than other ...
2
votes
1
answer
101
views
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 ...
1
vote
2
answers
552
views
Are bech32 and base58 the only address formats?
Are bech32 and base58 the only formats that a Bitcoin address can use or is there another?
1
vote
1
answer
470
views
How to convert xpub ypub and zpub in Ruby
I'm looking to convert a Bitcoin extended public key from one format to another in Ruby.
In JS I've found https://github.com/jlopp/xpub-converter/blob/master/js/xpubConvert.js and Python https://...
2
votes
1
answer
93
views
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 "...
0
votes
1
answer
217
views
How to handle leading 0's (b58 1's) when base58check encoding
I'm trying to more fully understand the base58check encoding algorithm.
Unfortunately, I keep running into a problem with how to handle a situation where the base58 value of an input would have ...
1
vote
0
answers
1k
views
How to get the compressed WIF of my key?
I'm a trying to understand the different encoding on the private keys. What format is used by the iancoleman validator and why? How can I reproduce it?
All my Data is valid.
According to the bitcoin ...
1
vote
1
answer
330
views
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 ...
1
vote
1
answer
455
views
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 ...
2
votes
2
answers
496
views
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 ...
2
votes
2
answers
3k
views
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 ...
4
votes
2
answers
3k
views
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 ...
3
votes
1
answer
534
views
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 ...
2
votes
2
answers
2k
views
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 ...
0
votes
1
answer
664
views
Base58Check encoding: Using for Version 4 UUID?
Can Base58Check encoding be used to encode a Version 4 UUID?
This would be handy for the same reasons as encoding Bitcoin public keys in Base58Check instead of Base64.
I've read the Bitcoin wiki ...
5
votes
1
answer
437
views
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 ...
1
vote
1
answer
76
views
What development tests should I do when creating a Base58Checked parser? [closed]
Are there any special tests (test data) I should run against my code if I've written a Base58Checked encoder/decoder?
3
votes
1
answer
6k
views
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 ...
8
votes
1
answer
867
views
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....
4
votes
2
answers
727
views
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?
11
votes
2
answers
2k
views
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 Base58
...
4
votes
1
answer
329
views
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 ...