aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/base58.vec
blob: 6c8d30fcc3fe9cb9935f8430d3e7293f9342b2f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

# Test data from https://github.com/nham/rust-base58/blob/master/src/lib.rs

[valid]

Binary =
Base58 =

Binary = 20
Base58 = Z

Binary = 2d
Base58 = n

Binary = 30
Base58 = q

Binary = 31
Base58 = r

Binary = 39
Base58 = z

Binary = 2D31
Base58 = 4SU

Binary = 3131
Base58 = 4k8

Binary = 616263
Base58 = ZiCa

Binary = 31323334353938373630
Base58 = 3mJr7AoUXx2Wqd

Binary = 6162636465666768696a6b6c6d6e6f707172737475767778797a
Base58 = 3yxU3u1igY8WkgtjK92fbJQCd4BZiiT1v25f

Binary = 00010966776006953D5567439E5E39F86A0D273BEED61967F6
Base58 = 16UwLL9Risc3QfPqBUvKofHmBQ7wMtjvM

Binary = 00616263
Base58 = 1ZiCa

Binary = 0000616263
Base58 = 11ZiCa

Binary = 000000616263
Base58 = 111ZiCa

Binary = 00000000616263
Base58 = 1111ZiCa

[invalid]

Base58 = 0
Base58 = O
Base58 = I
Base58 = l
Base58 = 3mJr0
Base58 = O3yxU
Base58 = 3sNI
Base58 = 4kl8
Base58 = s!5<
Base58 = t$@mX<*
Base58 = AreYouEvenLookingAtThese?