aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/codec/base32.vec
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/data/codec/base32.vec')
-rw-r--r--src/tests/data/codec/base32.vec79
1 files changed, 79 insertions, 0 deletions
diff --git a/src/tests/data/codec/base32.vec b/src/tests/data/codec/base32.vec
new file mode 100644
index 000000000..c681d85d1
--- /dev/null
+++ b/src/tests/data/codec/base32.vec
@@ -0,0 +1,79 @@
+
+[valid]
+# empty string
+Binary =
+Base32 =
+
+Binary = 66
+Base32 = MY======
+
+Binary = 666F
+Base32 = MZXQ====
+
+Binary = 666F6F
+Base32 = MZXW6===
+
+Binary = 666F6F66
+Base32 = MZXW6ZQ=
+
+Binary = 666F6F666F
+Base32 = MZXW6ZTP
+
+Binary = 68656C6C6F20776F726C64
+Base32 = NBSWY3DPEB3W64TMMQ======
+
+Binary = 68656C6C6F20776F726C6421
+Base32 = NBSWY3DPEB3W64TMMQQQ====
+
+Binary = 48656C6C6F2C20776F726C642E
+Base32 = JBSWY3DPFQQHO33SNRSC4===
+
+Binary = 546865203132206368617273
+Base32 = KRUGKIBRGIQGG2DBOJZQ====
+
+Binary = 5468652031332063686172732E
+Base32 = KRUGKIBRGMQGG2DBOJZS4===
+
+Binary = 5468652031342063686172732E2E
+Base32 = KRUGKIBRGQQGG2DBOJZS4LQ=
+
+Binary = 5468652031352063686172732E2E2E
+Base32 = KRUGKIBRGUQGG2DBOJZS4LRO
+
+Binary = 416E205554462D382075756D6C3A20C3BC
+Base32 = IFXCAVKUIYWTQIDVOVWWYORAYO6A====
+
+Binary = 5765697264204765726D616E20322062797465207468696E673A20C39F2E
+Base32 = K5SWS4TEEBDWK4TNMFXCAMRAMJ4XIZJAORUGS3THHIQMHHZO
+
+Binary = 9B
+Base32 = TM======
+
+Binary = 1C60
+Base32 = DRQA====
+
+Binary = 8134BD
+Base32 = QE2L2===
+
+Binary = 5E6CFFDE
+Base32 = LZWP7XQ=
+
+Binary = b2cdf0dc7f
+Base32 = WLG7BXD7
+
+Binary = fc562ddad40e
+Base32 = 7RLC3WWUBY======
+
+Binary = 29b2322e8841e8
+Base32 = FGZDELUIIHUA====
+
+Binary = 0f0fced9497aaf92
+Base32 = B4H45WKJPKXZE===
+
+Binary = 270fb18982800da640
+Base32 = E4H3DCMCQAG2MQA=
+
+[invalid]
+Base32 = ZOOL!isnotvalidbase32
+
+Base32 = Neitheris:this?