previous Menunext

Base

Functionality and example

The different Base encoding methods are depictions of numbers and letters in computer sciences. Since the original ASCII is only able to encrypt 128 characters it was necessary to develop other systems that were able to work with a larger number of symbols. The different Base-encryptions according to standard RFC-4648 are able to just do that. Still, they must not be mistaken for the different representations of Base 16, 32, 64 or 85. Here data is translated into binary values and put into a new order (see pictures).



Quelle: Wikipedia

Bsp. (aus der RFC-4648-Spezifikation):

BASE16("foo") = "666F6F"

BASE16("foobar") = "666F6F626172"



BASE32("fo") = "MZXQ===="

BASE32("foo") = "MZXW6==="

BASE32("foob") = "MZXW6YQ="

BASE32("foobar") = "MZXW6YTBOI======"



BASE64("f") = "Zg=="

BASE64("fo") = "Zm8="

BASE64("foo") = "Zm9v"

BASE64("foob") = "Zm9vYg=="

Operation



This function consists of the four shown Base calculations. Yet their handling is identical.

Input
  1. Input of the text which needs to be analysed.
  2. Choose encode/decode, Encode means transfer of text to Base, decode means transfer of Base to text
Output