Skip to content

Commit 6004bac

Browse files
ribasushivmx
authored andcommitted
Fix base8 test vectors to match RFC4648
1 parent 1bb240b commit 6004bac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/basic.csv

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
encoding, "yes mani !"
22
base2, "001111001011001010111001100100000011011010110000101101110011010010010000000100001"
3-
base8, "7171312714403326055632220041"
3+
base8, "7362625631006654133464440102"
44
base10, "9573277761329450583662625"
55
base16, "f796573206d616e692021"
66
base16upper, "F796573206D616E692021"

tests/leading_zero.csv

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
encoding, "\x00yes mani !"
22
base2, "00000000001111001011001010111001100100000011011010110000101101110011010010010000000100001"
3-
base8, "7000171312714403326055632220041"
3+
base8, "7000745453462015530267151100204"
44
base10, "90573277761329450583662625"
55
base16, "f00796573206d616e692021"
66
base16upper, "F00796573206D616E692021"

0 commit comments

Comments
 (0)