interplane.Get Omega
Read in your language

omnet

aien-dev/omnet

Brought by drakestapleton

branch main Branches Tags History

omnet / om / codec / test / vectors / rfc4648.txt

26 lines · 960 bytes Raw Blame History
1# RFC 4648 section 10 test vectors, the BASE64, BASE32 and BASE16 lines copied verbatim.
2# Source: https://www.rfc-editor.org/rfc/rfc4648.txt, fetched 2026-10-25,
3# sha256 84e14418f795d503be5f34bf23ce4ebaa119e9ec7c9f667d8caeb111385b178f (lines 652-713).
4# Copyright (C) The Internet Society (2006); section 10 is under the RFC section 15 copying
5# conditions (Copyright (c) 2000-2006 Simon Josefsson). Notices: rfc4648.NOTICE.
6BASE64("") = ""
7BASE64("f") = "Zg=="
8BASE64("fo") = "Zm8="
9BASE64("foo") = "Zm9v"
10BASE64("foob") = "Zm9vYg=="
11BASE64("fooba") = "Zm9vYmE="
12BASE64("foobar") = "Zm9vYmFy"
13BASE32("") = ""
14BASE32("f") = "MY======"
15BASE32("fo") = "MZXQ===="
16BASE32("foo") = "MZXW6==="
17BASE32("foob") = "MZXW6YQ="
18BASE32("fooba") = "MZXW6YTB"
19BASE32("foobar") = "MZXW6YTBOI======"
20BASE16("") = ""
21BASE16("f") = "66"
22BASE16("fo") = "666F"
23BASE16("foo") = "666F6F"
24BASE16("foob") = "666F6F62"
25BASE16("fooba") = "666F6F6261"
26BASE16("foobar") = "666F6F626172"