Demo

Encodes UTF-8 text as Base64. The same bits are shown first as bytes and then as six-bit groups, with the encoded character under each group; compare the result with a Base64 encoder.

UTF-8 bytes — each character over its bytes

01101000
h
1100001110101001
é

Base64 — 6 bits per character; every 4 characters encode 3 bytes, and = completes the last block

011010a
001100M
001110O
101001p

0 fill bits carry no data

Result: aMOp

Emergent Testing

Idle. Press Run to start the suite.

  • ./proof.f.mjs