Bitcoin Forum

Other => Beginners & Help => Topic started by: Coherent1337 on January 14, 2014, 03:17:19 PM



Title: Another base58 question.
Post by: Coherent1337 on January 14, 2014, 03:17:19 PM
Hello everyone.

So,                 0x39 =  0011 1001 = 57 is a "z"      in base58.
But why is        0x3A = 0011 1010 = 58 a "21"        in base58?

And what is the difference between base58 and base58check and where exactly is base58check used?

Thanks


Title: Re: Another base58 question.
Post by: yogi on January 14, 2014, 03:21:28 PM
https://en.bitcoin.it/wiki/Base58Check_encoding (https://en.bitcoin.it/wiki/Base58Check_encoding)


Title: Re: Another base58 question.
Post by: Coherent1337 on January 14, 2014, 03:28:22 PM
https://en.bitcoin.it/wiki/Base58Check_encoding (https://en.bitcoin.it/wiki/Base58Check_encoding)
thanks but I still don't see the difference


Title: Re: Another base58 question.
Post by: HS-EC-Coins on January 14, 2014, 03:29:21 PM
Hello everyone.

So,                 0x39 =  0011 1001 = 57 is a "z"      in base58.
But why is        0x3A = 0011 1010 = 58 a "21"        in base58?

And what is the difference between base58 and base58check and where exactly is base58check used?

Thanks

Hey !

Check this link : https://en.bitcoin.it/wiki/List_of_address_prefixes

57 is P or Q
58 is Q


Title: Re: Another base58 question.
Post by: Coherent1337 on January 14, 2014, 03:34:28 PM
Hello everyone.

So,                 0x39 =  0011 1001 = 57 is a "z"      in base58.
But why is        0x3A = 0011 1010 = 58 a "21"        in base58?

And what is the difference between base58 and base58check and where exactly is base58check used?

Thanks

Hey !

Check this link : https://en.bitcoin.it/wiki/List_of_address_prefixes

57 is P or Q
58 is Q

Hm okay. but why is 58 21 and not "Q"? And on what does it depend of 57 is P or Q?


Title: Re: Another base58 question.
Post by: yogi on January 14, 2014, 03:37:29 PM
thanks but I still don't see the difference

Four bytes of SHA256-based error checking code.


Title: Re: Another base58 question.
Post by: yogi on January 14, 2014, 03:39:43 PM
// - Don't want 0OIl characters that look the same in some fonts and
//      could be used to create visually identical looking account numbers.

code_string =
  "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"