Beispiele
Bitcoin genesis newspaper headline
Eingabe
VGhlIFRpbWVzIDAzL0phbi8yMDA5IENoYW5jZWxsb3Igb24gYnJpbmsgb2Ygc2Vjb25kIGJhaWxvdXQgZm9yIGJhbmtzExpected answer
54 68 65 20 54 69 6d 65 73 20 30 33 2f 4a 61 6e 2f 32 30 30 39 20 43 68 61 6e 63 65 6c 6c 6f 72 20 6f 6e 20 62 72 69 6e 6b 20 6f 66 20 73 65 63 6f 6e 64 20 62 61 69 6c 6f 75 74 20 66 6f 72 20 62 61 6e 6b 7354 68 65 20 54 69 6d 65 73 20 30 33 2f 4a 61 6e 2f 32 30 30 39 20 43 68 61 6e 63 65 6c 6c 6f 72 20 6f 6e 20 62 72 69 6e 6b 20 6f 66 20 73 65 63 6f 6e 64 20 62 61 69 6c 6f 75 74 20 66 6f 72 20 62 61 6e 6b 73
A registry credential from Kubernetes documentation
Eingabe
dGlnZXI6cGFzczEyMzQ=Expected answer
74 69 67 65 72 3a 70 61 73 73 31 32 33 3474 69 67 65 72 3a 70 61 73 73 31 32 33 34
A checksum-sensitive log line with a final newline
Eingabe
ZXZlbnQ9ZGVwbG95IHN0YXR1cz1yZWFkeQo=Expected answer
65 76 65 6e 74 3d 64 65 70 6c 6f 79 20 73 74 61 74 75 73 3d 72 65 61 64 79 0a65 76 65 6e 74 3d 64 65 70 6c 6f 79 20 73 74 61 74 75 73 3d 72 65 61 64 79 0a
A French café in precomposed Unicode
Eingabe
Y2Fmw6k=Expected answer
63 61 66 c3 a963 61 66 c3 a9
A French café with a separate combining accent
Eingabe
Y2FmZcyBExpected answer
63 61 66 65 cc 8163 61 66 65 cc 81
Chinese text in a UTF-8 request body
Eingabe
5L2g5aW977yM5LiW55WMExpected answer
e4 bd a0 e5 a5 bd ef bc 8c e4 b8 96 e7 95 8ce4 bd a0 e5 a5 bd ef bc 8c e4 b8 96 e7 95 8c
A literal plus and space inside a URL parameter
Eingabe
cmVsZWFzZSBub3RlcytBL0I/Expected answer
72 65 6c 65 61 73 65 20 6e 6f 74 65 73 2b 41 2f 42 3f72 65 6c 65 61 73 65 20 6e 6f 74 65 73 2b 41 2f 42 3f
So entsteht das Ergebnis
Konventionen und Grenzen
Hex preserves bytes, not character meaning. Check the Base64 alphabet and padding if a payload does not decode as expected.