Base64

How it works

re-encodes the same data into something else, most basic encryption.

  1. Character set Base64 uses only 64-character alphabet [A-Z][a-z][0-9]+/ plus = for padding
  2. Length pattern Base64 output is always a multiple of 4 characters long, this is because every 3 bytes of input becomes 4 chars of output
  3. Padding If the input’s byte-length is not a multiple of 3, Base64 output ends with one or two == characters

Related: Cyber Security