![]() From right to left, each increasing position corresponds to another, higher power of the base.įor example, 123 is seen as (1 * 100) + (2 * 10) + 3. The position in the digit string determines its meaning. So the base is 10, the alphabet is ‘0123456789’ and each digit’s value is its zero-based index in the alphabet. Each of these has a numerical value associated to them, again 0 to 9. The most common way to notate integers is using decimal notation, or more precisely using the base-ten positional numeral system.įor a ten-based system, we need 10 digits, 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. All code was written in Pharo, a pure object-oriented programming language and powerful environment, focused on simplicity and immediate feedback. So I started exploring to try understand what was going. They were describing a particular implementation instead of the mathematical principles. What did however confuse me a lot were the encoding and decoding algorithms in the RFC. These features help humans to make less errors and allows direct inclusion in filenames and URLs. it does not use non-alphanumeric characters.its alphabet avoids similar looking letters.I already knew about Base58 encoding: it is technique to encode arbitrary binary data into a textual representation that is easier to handle, much like Base64.īase58 encoding was designed to encode Bitcoin addresses. Some time ago something popped up in my inbox that piqued my interest: a draft RFC about Base58 Encoding, The Base58 Encoding Scheme. Photo by Dan-Cristian Pădureț on Unsplash
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |