Questions tagged [base58check]
The base58check tag has no usage guidance.
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://...
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 "...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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?
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 ...
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....
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?
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 ...
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 ...