Encoding schemes
Encoding schemes are generally used in data storage or the transmission of textual data over a medium. You can often observe the conversion of binary to text-encoding schemes in primitive cryptographic implementations.
Encoding schemes provide a compact way of representing long sequences of characters using a base. For example, a decimal system uses base 10, which uses characters from 0-9, and a hexadecimal system uses additional characters from A-F, along with the numbers from the decimal system. The bigger the base of a system, the smaller the size of the encoded string.
Base64 is an encoding scheme that is widely used to store and transmit large files such as an image. It uses 26 lowercase letters, 26 uppercase letters, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access