#![allow(clippy::unreadable_literal, reason = "auto-generated hex byte arrays")]
#![allow(
dead_code,
reason = "test vectors are selectively used by individual tests"
)]
#[derive(Debug)]
pub(super) struct TestVector {
pub(super) code_str: &'static str,
pub(super) rust_variant: &'static str,
pub(super) raw: &'static [u8],
pub(super) soft: &'static str,
pub(super) qb64: &'static str,
pub(super) qb2: &'static [u8],
pub(super) hs: u8,
pub(super) ss: u8,
pub(super) xs: u8,
pub(super) fs: Option<u16>,
pub(super) ls: u8,
}
pub(super) const FIXED_VECTORS: &[TestVector] = &[
TestVector {
code_str: "A",
rust_variant: "Ed25519Seed",
raw: &[
0xa3, 0x1c, 0x06, 0xbd, 0x46, 0x3e, 0x39, 0x23, 0xbc, 0x1a, 0xad, 0xbd, 0xe4, 0x8b,
0x16, 0x97, 0x6c, 0x08, 0x07, 0x17, 0x37, 0x3b, 0x81, 0x9a, 0x06, 0x8f, 0x32, 0xb7,
0xa6, 0xb3, 0x8b, 0x6b,
],
soft: "",
qb64: "AKMcBr1GPjkjvBqtveSLFpdsCAcXNzuBmgaPMrems4tr",
qb2: &[
0x00, 0xa3, 0x1c, 0x06, 0xbd, 0x46, 0x3e, 0x39, 0x23, 0xbc, 0x1a, 0xad, 0xbd, 0xe4,
0x8b, 0x16, 0x97, 0x6c, 0x08, 0x07, 0x17, 0x37, 0x3b, 0x81, 0x9a, 0x06, 0x8f, 0x32,
0xb7, 0xa6, 0xb3, 0x8b, 0x6b,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(44),
ls: 0,
},
TestVector {
code_str: "B",
rust_variant: "Ed25519N",
raw: &[
0x38, 0x72, 0x96, 0x47, 0xcf, 0xde, 0x01, 0xc2, 0xce, 0x28, 0xb2, 0x6c, 0x57, 0x47,
0x27, 0x37, 0xf5, 0xc3, 0x56, 0x1a, 0x17, 0x61, 0x18, 0x5b, 0xd8, 0x58, 0x9a, 0x43,
0xce, 0x0b, 0xba, 0x75,
],
soft: "",
qb64: "BDhylkfP3gHCziiybFdHJzf1w1YaF2EYW9hYmkPOC7p1",
qb2: &[
0x04, 0x38, 0x72, 0x96, 0x47, 0xcf, 0xde, 0x01, 0xc2, 0xce, 0x28, 0xb2, 0x6c, 0x57,
0x47, 0x27, 0x37, 0xf5, 0xc3, 0x56, 0x1a, 0x17, 0x61, 0x18, 0x5b, 0xd8, 0x58, 0x9a,
0x43, 0xce, 0x0b, 0xba, 0x75,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(44),
ls: 0,
},
TestVector {
code_str: "C",
rust_variant: "X25519",
raw: &[
0x89, 0x1f, 0xf9, 0xec, 0x60, 0x14, 0x8d, 0x4b, 0xd4, 0xa0, 0x9e, 0xe2, 0xdc, 0x5c,
0x93, 0x31, 0xb4, 0x11, 0x0b, 0xa9, 0x3a, 0xc5, 0x4a, 0xfc, 0x14, 0xda, 0x3b, 0xdd,
0x19, 0x61, 0x47, 0x74,
],
soft: "",
qb64: "CIkf-exgFI1L1KCe4txckzG0EQupOsVK_BTaO90ZYUd0",
qb2: &[
0x08, 0x89, 0x1f, 0xf9, 0xec, 0x60, 0x14, 0x8d, 0x4b, 0xd4, 0xa0, 0x9e, 0xe2, 0xdc,
0x5c, 0x93, 0x31, 0xb4, 0x11, 0x0b, 0xa9, 0x3a, 0xc5, 0x4a, 0xfc, 0x14, 0xda, 0x3b,
0xdd, 0x19, 0x61, 0x47, 0x74,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(44),
ls: 0,
},
TestVector {
code_str: "D",
rust_variant: "Ed25519",
raw: &[
0xa2, 0xd5, 0x5d, 0x29, 0x5e, 0x5a, 0x35, 0xab, 0x44, 0xb3, 0xef, 0xae, 0xa5, 0x12,
0x9b, 0xa2, 0x2b, 0x88, 0xba, 0x3e, 0x29, 0x76, 0x61, 0x45, 0xfd, 0xec, 0xa3, 0xb0,
0x8e, 0x38, 0xaf, 0x53,
],
soft: "",
qb64: "DKLVXSleWjWrRLPvrqUSm6IriLo-KXZhRf3so7COOK9T",
qb2: &[
0x0c, 0xa2, 0xd5, 0x5d, 0x29, 0x5e, 0x5a, 0x35, 0xab, 0x44, 0xb3, 0xef, 0xae, 0xa5,
0x12, 0x9b, 0xa2, 0x2b, 0x88, 0xba, 0x3e, 0x29, 0x76, 0x61, 0x45, 0xfd, 0xec, 0xa3,
0xb0, 0x8e, 0x38, 0xaf, 0x53,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(44),
ls: 0,
},
TestVector {
code_str: "E",
rust_variant: "Blake3_256",
raw: &[
0xd7, 0xc4, 0xc6, 0x0e, 0x3a, 0xd2, 0x08, 0xce, 0x50, 0x66, 0x44, 0x10, 0x36, 0xe9,
0xf1, 0x91, 0xe0, 0xb7, 0x50, 0x36, 0xa7, 0x7f, 0x65, 0xe2, 0xea, 0xa4, 0x75, 0x24,
0x43, 0x23, 0x3f, 0xbe,
],
soft: "",
qb64: "ENfExg460gjOUGZEEDbp8ZHgt1A2p39l4uqkdSRDIz--",
qb2: &[
0x10, 0xd7, 0xc4, 0xc6, 0x0e, 0x3a, 0xd2, 0x08, 0xce, 0x50, 0x66, 0x44, 0x10, 0x36,
0xe9, 0xf1, 0x91, 0xe0, 0xb7, 0x50, 0x36, 0xa7, 0x7f, 0x65, 0xe2, 0xea, 0xa4, 0x75,
0x24, 0x43, 0x23, 0x3f, 0xbe,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(44),
ls: 0,
},
TestVector {
code_str: "F",
rust_variant: "Blake2b_256",
raw: &[
0x8f, 0x89, 0x43, 0xbf, 0x95, 0x6d, 0xe5, 0x95, 0x66, 0x5c, 0x38, 0xff, 0xff, 0x23,
0x82, 0x7e, 0x17, 0xc1, 0x0c, 0xdc, 0x1c, 0x27, 0xa0, 0x28, 0xca, 0xae, 0x6c, 0x98,
0x10, 0x62, 0x61, 0x98,
],
soft: "",
qb64: "FI-JQ7-VbeWVZlw4__8jgn4XwQzcHCegKMqubJgQYmGY",
qb2: &[
0x14, 0x8f, 0x89, 0x43, 0xbf, 0x95, 0x6d, 0xe5, 0x95, 0x66, 0x5c, 0x38, 0xff, 0xff,
0x23, 0x82, 0x7e, 0x17, 0xc1, 0x0c, 0xdc, 0x1c, 0x27, 0xa0, 0x28, 0xca, 0xae, 0x6c,
0x98, 0x10, 0x62, 0x61, 0x98,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(44),
ls: 0,
},
TestVector {
code_str: "G",
rust_variant: "Blake2s_256",
raw: &[
0xff, 0x77, 0x87, 0x40, 0xf8, 0x8d, 0xdc, 0xf1, 0x02, 0xae, 0xb8, 0x1d, 0xae, 0xe2,
0x89, 0xc0, 0x44, 0xc4, 0xa4, 0x57, 0x1c, 0x4b, 0x6f, 0x28, 0x74, 0x00, 0xf4, 0xb8,
0xe0, 0xb8, 0x43, 0xf8,
],
soft: "",
qb64: "GP93h0D4jdzxAq64Ha7iicBExKRXHEtvKHQA9LjguEP4",
qb2: &[
0x18, 0xff, 0x77, 0x87, 0x40, 0xf8, 0x8d, 0xdc, 0xf1, 0x02, 0xae, 0xb8, 0x1d, 0xae,
0xe2, 0x89, 0xc0, 0x44, 0xc4, 0xa4, 0x57, 0x1c, 0x4b, 0x6f, 0x28, 0x74, 0x00, 0xf4,
0xb8, 0xe0, 0xb8, 0x43, 0xf8,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(44),
ls: 0,
},
TestVector {
code_str: "H",
rust_variant: "SHA3_256",
raw: &[
0x80, 0xc3, 0x2d, 0x81, 0xe9, 0x1b, 0xde, 0xa0, 0x4c, 0xd7, 0xa3, 0x81, 0x9b, 0x32,
0x27, 0x5f, 0xc3, 0x29, 0x8a, 0xf4, 0xc7, 0xec, 0x87, 0xeb, 0x00, 0x99, 0x52, 0x7d,
0x04, 0x1c, 0xed, 0x5c,
],
soft: "",
qb64: "HIDDLYHpG96gTNejgZsyJ1_DKYr0x-yH6wCZUn0EHO1c",
qb2: &[
0x1c, 0x80, 0xc3, 0x2d, 0x81, 0xe9, 0x1b, 0xde, 0xa0, 0x4c, 0xd7, 0xa3, 0x81, 0x9b,
0x32, 0x27, 0x5f, 0xc3, 0x29, 0x8a, 0xf4, 0xc7, 0xec, 0x87, 0xeb, 0x00, 0x99, 0x52,
0x7d, 0x04, 0x1c, 0xed, 0x5c,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(44),
ls: 0,
},
TestVector {
code_str: "I",
rust_variant: "SHA2_256",
raw: &[
0xe0, 0xfc, 0xd4, 0xce, 0x4e, 0x3d, 0x0e, 0x3d, 0xe0, 0x91, 0xf2, 0x14, 0x15, 0xbb,
0x7c, 0xd0, 0x11, 0xfa, 0xc2, 0x88, 0xc4, 0x20, 0x20, 0xa8, 0x79, 0xf2, 0x8c, 0x2a,
0x43, 0x87, 0xdf, 0x9b,
],
soft: "",
qb64: "IOD81M5OPQ494JHyFBW7fNAR-sKIxCAgqHnyjCpDh9-b",
qb2: &[
0x20, 0xe0, 0xfc, 0xd4, 0xce, 0x4e, 0x3d, 0x0e, 0x3d, 0xe0, 0x91, 0xf2, 0x14, 0x15,
0xbb, 0x7c, 0xd0, 0x11, 0xfa, 0xc2, 0x88, 0xc4, 0x20, 0x20, 0xa8, 0x79, 0xf2, 0x8c,
0x2a, 0x43, 0x87, 0xdf, 0x9b,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(44),
ls: 0,
},
TestVector {
code_str: "J",
rust_variant: "ECDSA256k1Seed",
raw: &[
0x6c, 0xf6, 0x36, 0xed, 0x8a, 0xc1, 0xba, 0xb0, 0x33, 0xb6, 0x4f, 0x66, 0xfe, 0xab,
0xa6, 0x5f, 0x70, 0xe6, 0x84, 0x73, 0x1e, 0x3f, 0x39, 0x10, 0x56, 0x05, 0x96, 0x8d,
0x3a, 0x96, 0x38, 0x01,
],
soft: "",
qb64: "JGz2Nu2KwbqwM7ZPZv6rpl9w5oRzHj85EFYFlo06ljgB",
qb2: &[
0x24, 0x6c, 0xf6, 0x36, 0xed, 0x8a, 0xc1, 0xba, 0xb0, 0x33, 0xb6, 0x4f, 0x66, 0xfe,
0xab, 0xa6, 0x5f, 0x70, 0xe6, 0x84, 0x73, 0x1e, 0x3f, 0x39, 0x10, 0x56, 0x05, 0x96,
0x8d, 0x3a, 0x96, 0x38, 0x01,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(44),
ls: 0,
},
TestVector {
code_str: "K",
rust_variant: "Ed448Seed",
raw: &[
0x12, 0xb5, 0xa1, 0x0f, 0x3a, 0x11, 0xe7, 0x08, 0xdc, 0x54, 0x12, 0x83, 0x3c, 0x47,
0xab, 0x7c, 0x36, 0x8a, 0x21, 0xb9, 0xef, 0xe1, 0x92, 0x93, 0x79, 0x3e, 0xc8, 0x79,
0xce, 0x68, 0x30, 0x18, 0x18, 0xa8, 0x6e, 0x5a, 0x6c, 0x69, 0x77, 0xdd, 0xba, 0x0d,
0xac, 0xa7, 0xfb, 0xa5, 0x19, 0x0f, 0x67, 0xba, 0x56, 0xcc, 0xdc, 0x1b, 0x3f, 0x31,
],
soft: "",
qb64: "KBK1oQ86EecI3FQSgzxHq3w2iiG57-GSk3k-yHnOaDAYGKhuWmxpd926Dayn-6UZD2e6VszcGz8x",
qb2: &[
0x28, 0x12, 0xb5, 0xa1, 0x0f, 0x3a, 0x11, 0xe7, 0x08, 0xdc, 0x54, 0x12, 0x83, 0x3c,
0x47, 0xab, 0x7c, 0x36, 0x8a, 0x21, 0xb9, 0xef, 0xe1, 0x92, 0x93, 0x79, 0x3e, 0xc8,
0x79, 0xce, 0x68, 0x30, 0x18, 0x18, 0xa8, 0x6e, 0x5a, 0x6c, 0x69, 0x77, 0xdd, 0xba,
0x0d, 0xac, 0xa7, 0xfb, 0xa5, 0x19, 0x0f, 0x67, 0xba, 0x56, 0xcc, 0xdc, 0x1b, 0x3f,
0x31,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(76),
ls: 0,
},
TestVector {
code_str: "L",
rust_variant: "X448",
raw: &[
0x30, 0x89, 0x72, 0x23, 0x6c, 0x2e, 0x47, 0x76, 0x3f, 0xdf, 0xec, 0x13, 0x71, 0xce,
0xdc, 0xdb, 0x8c, 0x19, 0x0c, 0xa6, 0xff, 0x8a, 0xd6, 0x03, 0xf8, 0x17, 0xed, 0xc0,
0xd9, 0x3c, 0x2a, 0x68, 0x7c, 0x7b, 0x36, 0xdd, 0x66, 0xe7, 0x0f, 0x2a, 0x61, 0x00,
0xfc, 0x63, 0x43, 0xed, 0xc8, 0xc8, 0x74, 0x49, 0x6c, 0xb2, 0xf5, 0xbb, 0xfe, 0xc8,
],
soft: "",
qb64: "LDCJciNsLkd2P9_sE3HO3NuMGQym_4rWA_gX7cDZPCpofHs23WbnDyphAPxjQ-3IyHRJbLL1u_7I",
qb2: &[
0x2c, 0x30, 0x89, 0x72, 0x23, 0x6c, 0x2e, 0x47, 0x76, 0x3f, 0xdf, 0xec, 0x13, 0x71,
0xce, 0xdc, 0xdb, 0x8c, 0x19, 0x0c, 0xa6, 0xff, 0x8a, 0xd6, 0x03, 0xf8, 0x17, 0xed,
0xc0, 0xd9, 0x3c, 0x2a, 0x68, 0x7c, 0x7b, 0x36, 0xdd, 0x66, 0xe7, 0x0f, 0x2a, 0x61,
0x00, 0xfc, 0x63, 0x43, 0xed, 0xc8, 0xc8, 0x74, 0x49, 0x6c, 0xb2, 0xf5, 0xbb, 0xfe,
0xc8,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(76),
ls: 0,
},
TestVector {
code_str: "M",
rust_variant: "Short",
raw: &[0x8e, 0xa9],
soft: "",
qb64: "MI6p",
qb2: &[0x30, 0x8e, 0xa9],
hs: 1,
ss: 0,
xs: 0,
fs: Some(4),
ls: 0,
},
TestVector {
code_str: "N",
rust_variant: "Big",
raw: &[0xb7, 0x7c, 0x27, 0x30, 0x4b, 0x37, 0xf7, 0x0e],
soft: "",
qb64: "NLd8JzBLN_cO",
qb2: &[0x34, 0xb7, 0x7c, 0x27, 0x30, 0x4b, 0x37, 0xf7, 0x0e],
hs: 1,
ss: 0,
xs: 0,
fs: Some(12),
ls: 0,
},
TestVector {
code_str: "O",
rust_variant: "X25519Private",
raw: &[
0x94, 0xbc, 0x8a, 0x0f, 0xbf, 0x50, 0x0e, 0x0c, 0x95, 0x7a, 0x80, 0xeb, 0xda, 0x87,
0x28, 0x0e, 0xf5, 0x82, 0x14, 0xd9, 0x2f, 0x11, 0x98, 0x11, 0xac, 0xdc, 0x3c, 0x67,
0x1e, 0xf1, 0xe3, 0x91,
],
soft: "",
qb64: "OJS8ig-_UA4MlXqA69qHKA71ghTZLxGYEazcPGce8eOR",
qb2: &[
0x38, 0x94, 0xbc, 0x8a, 0x0f, 0xbf, 0x50, 0x0e, 0x0c, 0x95, 0x7a, 0x80, 0xeb, 0xda,
0x87, 0x28, 0x0e, 0xf5, 0x82, 0x14, 0xd9, 0x2f, 0x11, 0x98, 0x11, 0xac, 0xdc, 0x3c,
0x67, 0x1e, 0xf1, 0xe3, 0x91,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(44),
ls: 0,
},
TestVector {
code_str: "P",
rust_variant: "X25519CipherSeed",
raw: &[
0x3f, 0x94, 0x98, 0x0a, 0x9e, 0x14, 0x6b, 0xa8, 0x95, 0x90, 0x85, 0x50, 0xef, 0x42,
0x34, 0xab, 0xb7, 0x50, 0x3d, 0x43, 0x65, 0x21, 0xab, 0xa5, 0x4c, 0x75, 0x50, 0xed,
0xc0, 0xef, 0x12, 0x02, 0x75, 0x9f, 0xff, 0x90, 0xff, 0x19, 0x12, 0x89, 0x36, 0x81,
0x43, 0x21, 0xee, 0x59, 0xe1, 0x11, 0xe1, 0x3e, 0x5e, 0x48, 0x28, 0x70, 0xd5, 0x8b,
0xb4, 0x4d, 0x9c, 0xfb, 0xfc, 0xce, 0xa7, 0x87, 0x02, 0xaa, 0xd1, 0x8d, 0x4c, 0xee,
0xa9, 0x1a, 0xf0, 0xe0, 0x22, 0x43, 0x1d, 0xe3, 0x1b, 0xbe, 0x8d, 0x27, 0x45, 0x48,
0x9a, 0x35, 0xb7, 0x57, 0x34, 0xaf, 0xa2, 0xda,
],
soft: "",
qb64: "PD-UmAqeFGuolZCFUO9CNKu3UD1DZSGrpUx1UO3A7xICdZ__kP8ZEok2gUMh7lnhEeE-XkgocNWLtE2c-_zOp4cCqtGNTO6pGvDgIkMd4xu-jSdFSJo1t1c0r6La",
qb2: &[
0x3c, 0x3f, 0x94, 0x98, 0x0a, 0x9e, 0x14, 0x6b, 0xa8, 0x95, 0x90, 0x85, 0x50, 0xef,
0x42, 0x34, 0xab, 0xb7, 0x50, 0x3d, 0x43, 0x65, 0x21, 0xab, 0xa5, 0x4c, 0x75, 0x50,
0xed, 0xc0, 0xef, 0x12, 0x02, 0x75, 0x9f, 0xff, 0x90, 0xff, 0x19, 0x12, 0x89, 0x36,
0x81, 0x43, 0x21, 0xee, 0x59, 0xe1, 0x11, 0xe1, 0x3e, 0x5e, 0x48, 0x28, 0x70, 0xd5,
0x8b, 0xb4, 0x4d, 0x9c, 0xfb, 0xfc, 0xce, 0xa7, 0x87, 0x02, 0xaa, 0xd1, 0x8d, 0x4c,
0xee, 0xa9, 0x1a, 0xf0, 0xe0, 0x22, 0x43, 0x1d, 0xe3, 0x1b, 0xbe, 0x8d, 0x27, 0x45,
0x48, 0x9a, 0x35, 0xb7, 0x57, 0x34, 0xaf, 0xa2, 0xda,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(124),
ls: 0,
},
TestVector {
code_str: "Q",
rust_variant: "ECDSA256r1Seed",
raw: &[
0x43, 0x81, 0x7d, 0x40, 0xe7, 0xe8, 0xd8, 0x0d, 0x17, 0xa2, 0x6c, 0xd4, 0x46, 0x0b,
0x00, 0x55, 0xc5, 0x21, 0xa3, 0xfa, 0x43, 0x29, 0xbd, 0x71, 0x8d, 0xb4, 0x6d, 0x8f,
0x02, 0x1c, 0x13, 0xf1,
],
soft: "",
qb64: "QEOBfUDn6NgNF6Js1EYLAFXFIaP6Qym9cY20bY8CHBPx",
qb2: &[
0x40, 0x43, 0x81, 0x7d, 0x40, 0xe7, 0xe8, 0xd8, 0x0d, 0x17, 0xa2, 0x6c, 0xd4, 0x46,
0x0b, 0x00, 0x55, 0xc5, 0x21, 0xa3, 0xfa, 0x43, 0x29, 0xbd, 0x71, 0x8d, 0xb4, 0x6d,
0x8f, 0x02, 0x1c, 0x13, 0xf1,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(44),
ls: 0,
},
TestVector {
code_str: "R",
rust_variant: "Tall",
raw: &[0xe2, 0xb0, 0xe7, 0x26, 0x8b],
soft: "",
qb64: "ROKw5yaL",
qb2: &[0x44, 0xe2, 0xb0, 0xe7, 0x26, 0x8b],
hs: 1,
ss: 0,
xs: 0,
fs: Some(8),
ls: 0,
},
TestVector {
code_str: "S",
rust_variant: "Large",
raw: &[
0x09, 0xd5, 0x5e, 0x95, 0x8d, 0x25, 0x6e, 0x20, 0x0a, 0x4e, 0x5d,
],
soft: "",
qb64: "SAnVXpWNJW4gCk5d",
qb2: &[
0x48, 0x09, 0xd5, 0x5e, 0x95, 0x8d, 0x25, 0x6e, 0x20, 0x0a, 0x4e, 0x5d,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(16),
ls: 0,
},
TestVector {
code_str: "T",
rust_variant: "Great",
raw: &[
0xe6, 0xee, 0xcb, 0xf8, 0xdc, 0x0a, 0xe6, 0x5b, 0x35, 0xae, 0x3f, 0xaa, 0x1a, 0x5a,
],
soft: "",
qb64: "TObuy_jcCuZbNa4_qhpa",
qb2: &[
0x4c, 0xe6, 0xee, 0xcb, 0xf8, 0xdc, 0x0a, 0xe6, 0x5b, 0x35, 0xae, 0x3f, 0xaa, 0x1a,
0x5a,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(20),
ls: 0,
},
TestVector {
code_str: "U",
rust_variant: "Vast",
raw: &[
0xc7, 0x8f, 0xe2, 0xdf, 0x68, 0xf9, 0x9e, 0xbf, 0x27, 0xec, 0xee, 0x3c, 0xdd, 0x29,
0xf9, 0xcc, 0xcf,
],
soft: "",
qb64: "UMeP4t9o-Z6_J-zuPN0p-czP",
qb2: &[
0x50, 0xc7, 0x8f, 0xe2, 0xdf, 0x68, 0xf9, 0x9e, 0xbf, 0x27, 0xec, 0xee, 0x3c, 0xdd,
0x29, 0xf9, 0xcc, 0xcf,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(24),
ls: 0,
},
TestVector {
code_str: "V",
rust_variant: "Label1",
raw: &[0x2d],
soft: "",
qb64: "VAAt",
qb2: &[0x54, 0x00, 0x2d],
hs: 1,
ss: 0,
xs: 0,
fs: Some(4),
ls: 1,
},
TestVector {
code_str: "W",
rust_variant: "Label2",
raw: &[0xe1, 0x69],
soft: "",
qb64: "WOFp",
qb2: &[0x58, 0xe1, 0x69],
hs: 1,
ss: 0,
xs: 0,
fs: Some(4),
ls: 0,
},
TestVector {
code_str: "a",
rust_variant: "Salt256",
raw: &[
0x06, 0x2d, 0xbc, 0xec, 0x55, 0xc8, 0xee, 0x69, 0xcd, 0xab, 0xdd, 0xbc, 0xcf, 0x3f,
0x44, 0x28, 0xc9, 0xb3, 0x1b, 0x61, 0xdf, 0x09, 0xdb, 0x78, 0x38, 0x33, 0xd1, 0xeb,
0x75, 0x59, 0x4e, 0xd2,
],
soft: "",
qb64: "aAYtvOxVyO5pzavdvM8_RCjJsxth3wnbeDgz0et1WU7S",
qb2: &[
0x68, 0x06, 0x2d, 0xbc, 0xec, 0x55, 0xc8, 0xee, 0x69, 0xcd, 0xab, 0xdd, 0xbc, 0xcf,
0x3f, 0x44, 0x28, 0xc9, 0xb3, 0x1b, 0x61, 0xdf, 0x09, 0xdb, 0x78, 0x38, 0x33, 0xd1,
0xeb, 0x75, 0x59, 0x4e, 0xd2,
],
hs: 1,
ss: 0,
xs: 0,
fs: Some(44),
ls: 0,
},
TestVector {
code_str: "0A",
rust_variant: "Salt128",
raw: &[
0xcb, 0xdf, 0x3a, 0x39, 0x06, 0xa8, 0x31, 0x66, 0x54, 0x47, 0xdd, 0x11, 0xf7, 0xc5,
0x47, 0x59,
],
soft: "",
qb64: "0ADL3zo5BqgxZlRH3RH3xUdZ",
qb2: &[
0xd0, 0x00, 0xcb, 0xdf, 0x3a, 0x39, 0x06, 0xa8, 0x31, 0x66, 0x54, 0x47, 0xdd, 0x11,
0xf7, 0xc5, 0x47, 0x59,
],
hs: 2,
ss: 0,
xs: 0,
fs: Some(24),
ls: 0,
},
TestVector {
code_str: "0B",
rust_variant: "Ed25519Sig",
raw: &[
0xa4, 0x82, 0x66, 0xad, 0xfb, 0xd7, 0x89, 0x54, 0xf0, 0x07, 0x1d, 0xe0, 0xf8, 0x42,
0x2d, 0x94, 0xf6, 0xfb, 0x43, 0x09, 0x1b, 0x98, 0x6f, 0x58, 0xba, 0xc9, 0x50, 0x6f,
0x9b, 0xfb, 0x82, 0x1d, 0x62, 0xe6, 0x93, 0x30, 0x41, 0x0b, 0xb5, 0x6f, 0x00, 0x85,
0xec, 0xce, 0x89, 0xaf, 0xb8, 0xf0, 0xbd, 0xbc, 0xab, 0x32, 0x5d, 0x6e, 0x11, 0xf2,
0xaa, 0xeb, 0x54, 0x9f, 0x50, 0xa9, 0xd9, 0x1f,
],
soft: "",
qb64: "0BCkgmat-9eJVPAHHeD4Qi2U9vtDCRuYb1i6yVBvm_uCHWLmkzBBC7VvAIXszomvuPC9vKsyXW4R8qrrVJ9Qqdkf",
qb2: &[
0xd0, 0x10, 0xa4, 0x82, 0x66, 0xad, 0xfb, 0xd7, 0x89, 0x54, 0xf0, 0x07, 0x1d, 0xe0,
0xf8, 0x42, 0x2d, 0x94, 0xf6, 0xfb, 0x43, 0x09, 0x1b, 0x98, 0x6f, 0x58, 0xba, 0xc9,
0x50, 0x6f, 0x9b, 0xfb, 0x82, 0x1d, 0x62, 0xe6, 0x93, 0x30, 0x41, 0x0b, 0xb5, 0x6f,
0x00, 0x85, 0xec, 0xce, 0x89, 0xaf, 0xb8, 0xf0, 0xbd, 0xbc, 0xab, 0x32, 0x5d, 0x6e,
0x11, 0xf2, 0xaa, 0xeb, 0x54, 0x9f, 0x50, 0xa9, 0xd9, 0x1f,
],
hs: 2,
ss: 0,
xs: 0,
fs: Some(88),
ls: 0,
},
TestVector {
code_str: "0C",
rust_variant: "ECDSA256k1Sig",
raw: &[
0xb8, 0xe6, 0x4c, 0x81, 0x4f, 0xaa, 0x68, 0x53, 0x67, 0xb2, 0x4b, 0x8d, 0x20, 0x31,
0x6b, 0xaa, 0xf0, 0x61, 0xad, 0xbf, 0xe7, 0x2c, 0x9d, 0x91, 0x4d, 0x67, 0x8c, 0xd5,
0x00, 0x4d, 0x49, 0x35, 0x6e, 0xc9, 0x94, 0x9b, 0xa7, 0x52, 0x77, 0x71, 0x71, 0xac,
0x36, 0x82, 0x79, 0xcb, 0xe6, 0xf5, 0xcb, 0xbc, 0x2b, 0xa8, 0x15, 0x48, 0x83, 0xa9,
0xa2, 0x9e, 0x55, 0x17, 0xd1, 0xf3, 0xc0, 0x3c,
],
soft: "",
qb64: "0CC45kyBT6poU2eyS40gMWuq8GGtv-csnZFNZ4zVAE1JNW7JlJunUndxcaw2gnnL5vXLvCuoFUiDqaKeVRfR88A8",
qb2: &[
0xd0, 0x20, 0xb8, 0xe6, 0x4c, 0x81, 0x4f, 0xaa, 0x68, 0x53, 0x67, 0xb2, 0x4b, 0x8d,
0x20, 0x31, 0x6b, 0xaa, 0xf0, 0x61, 0xad, 0xbf, 0xe7, 0x2c, 0x9d, 0x91, 0x4d, 0x67,
0x8c, 0xd5, 0x00, 0x4d, 0x49, 0x35, 0x6e, 0xc9, 0x94, 0x9b, 0xa7, 0x52, 0x77, 0x71,
0x71, 0xac, 0x36, 0x82, 0x79, 0xcb, 0xe6, 0xf5, 0xcb, 0xbc, 0x2b, 0xa8, 0x15, 0x48,
0x83, 0xa9, 0xa2, 0x9e, 0x55, 0x17, 0xd1, 0xf3, 0xc0, 0x3c,
],
hs: 2,
ss: 0,
xs: 0,
fs: Some(88),
ls: 0,
},
TestVector {
code_str: "0D",
rust_variant: "Blake3_512",
raw: &[
0xac, 0x4f, 0x39, 0xce, 0x32, 0x25, 0x06, 0x0b, 0x3e, 0xfb, 0x79, 0x9c, 0xd9, 0xc4,
0x12, 0x74, 0x6a, 0xe2, 0xa1, 0x93, 0x31, 0xb7, 0xb2, 0x62, 0x7e, 0x66, 0x3e, 0x25,
0xa7, 0xb0, 0x01, 0xe4, 0xc0, 0xdc, 0xc5, 0xe2, 0x1b, 0xc7, 0x6c, 0x38, 0x2d, 0xcd,
0xf5, 0xb2, 0x84, 0x76, 0x0c, 0x8e, 0x3f, 0xea, 0xd9, 0x1f, 0x74, 0x22, 0xcd, 0x76,
0xaa, 0x87, 0xfc, 0x8f, 0x98, 0x51, 0xf3, 0xc1,
],
soft: "",
qb64: "0DCsTznOMiUGCz77eZzZxBJ0auKhkzG3smJ-Zj4lp7AB5MDcxeIbx2w4Lc31soR2DI4_6tkfdCLNdqqH_I-YUfPB",
qb2: &[
0xd0, 0x30, 0xac, 0x4f, 0x39, 0xce, 0x32, 0x25, 0x06, 0x0b, 0x3e, 0xfb, 0x79, 0x9c,
0xd9, 0xc4, 0x12, 0x74, 0x6a, 0xe2, 0xa1, 0x93, 0x31, 0xb7, 0xb2, 0x62, 0x7e, 0x66,
0x3e, 0x25, 0xa7, 0xb0, 0x01, 0xe4, 0xc0, 0xdc, 0xc5, 0xe2, 0x1b, 0xc7, 0x6c, 0x38,
0x2d, 0xcd, 0xf5, 0xb2, 0x84, 0x76, 0x0c, 0x8e, 0x3f, 0xea, 0xd9, 0x1f, 0x74, 0x22,
0xcd, 0x76, 0xaa, 0x87, 0xfc, 0x8f, 0x98, 0x51, 0xf3, 0xc1,
],
hs: 2,
ss: 0,
xs: 0,
fs: Some(88),
ls: 0,
},
TestVector {
code_str: "0E",
rust_variant: "Blake2b_512",
raw: &[
0xe4, 0x71, 0x9c, 0xd0, 0xb8, 0xe4, 0x81, 0x6d, 0xd4, 0xe8, 0x8c, 0x72, 0xe5, 0x28,
0xbe, 0xdc, 0x79, 0x73, 0x42, 0xc0, 0x3f, 0xd7, 0xa3, 0x46, 0xc4, 0xc7, 0x85, 0x7c,
0xa0, 0x3d, 0x46, 0x70, 0x13, 0xb6, 0x49, 0x3c, 0x45, 0x55, 0x51, 0xe4, 0x8a, 0x14,
0x23, 0x26, 0x3b, 0x62, 0xb1, 0x27, 0xb4, 0x36, 0x10, 0x6a, 0x68, 0x54, 0x8a, 0x77,
0x6a, 0x0f, 0x34, 0xd5, 0x6b, 0x63, 0xe7, 0xc5,
],
soft: "",
qb64: "0EDkcZzQuOSBbdTojHLlKL7ceXNCwD_Xo0bEx4V8oD1GcBO2STxFVVHkihQjJjtisSe0NhBqaFSKd2oPNNVrY-fF",
qb2: &[
0xd0, 0x40, 0xe4, 0x71, 0x9c, 0xd0, 0xb8, 0xe4, 0x81, 0x6d, 0xd4, 0xe8, 0x8c, 0x72,
0xe5, 0x28, 0xbe, 0xdc, 0x79, 0x73, 0x42, 0xc0, 0x3f, 0xd7, 0xa3, 0x46, 0xc4, 0xc7,
0x85, 0x7c, 0xa0, 0x3d, 0x46, 0x70, 0x13, 0xb6, 0x49, 0x3c, 0x45, 0x55, 0x51, 0xe4,
0x8a, 0x14, 0x23, 0x26, 0x3b, 0x62, 0xb1, 0x27, 0xb4, 0x36, 0x10, 0x6a, 0x68, 0x54,
0x8a, 0x77, 0x6a, 0x0f, 0x34, 0xd5, 0x6b, 0x63, 0xe7, 0xc5,
],
hs: 2,
ss: 0,
xs: 0,
fs: Some(88),
ls: 0,
},
TestVector {
code_str: "0F",
rust_variant: "SHA3_512",
raw: &[
0x95, 0xf2, 0xb2, 0x05, 0xdb, 0xe1, 0xc3, 0x93, 0x61, 0x7a, 0x01, 0xf1, 0x5a, 0x4c,
0xc0, 0x63, 0xda, 0xe4, 0xf4, 0xd5, 0x6b, 0x89, 0xbf, 0xbc, 0x8b, 0xcc, 0x9a, 0xe5,
0x38, 0x7c, 0x38, 0x45, 0x6f, 0x7c, 0x07, 0x63, 0x56, 0xab, 0xad, 0xcc, 0x67, 0xb9,
0x2a, 0xd7, 0x77, 0xeb, 0x20, 0xfb, 0x9f, 0x88, 0x06, 0xe8, 0x64, 0x97, 0x90, 0xa9,
0x06, 0x15, 0xa4, 0x6d, 0x22, 0xdd, 0x76, 0x2e,
],
soft: "",
qb64: "0FCV8rIF2-HDk2F6AfFaTMBj2uT01WuJv7yLzJrlOHw4RW98B2NWq63MZ7kq13frIPufiAboZJeQqQYVpG0i3XYu",
qb2: &[
0xd0, 0x50, 0x95, 0xf2, 0xb2, 0x05, 0xdb, 0xe1, 0xc3, 0x93, 0x61, 0x7a, 0x01, 0xf1,
0x5a, 0x4c, 0xc0, 0x63, 0xda, 0xe4, 0xf4, 0xd5, 0x6b, 0x89, 0xbf, 0xbc, 0x8b, 0xcc,
0x9a, 0xe5, 0x38, 0x7c, 0x38, 0x45, 0x6f, 0x7c, 0x07, 0x63, 0x56, 0xab, 0xad, 0xcc,
0x67, 0xb9, 0x2a, 0xd7, 0x77, 0xeb, 0x20, 0xfb, 0x9f, 0x88, 0x06, 0xe8, 0x64, 0x97,
0x90, 0xa9, 0x06, 0x15, 0xa4, 0x6d, 0x22, 0xdd, 0x76, 0x2e,
],
hs: 2,
ss: 0,
xs: 0,
fs: Some(88),
ls: 0,
},
TestVector {
code_str: "0G",
rust_variant: "SHA2_512",
raw: &[
0x0c, 0x42, 0x61, 0x53, 0x36, 0x74, 0x53, 0x56, 0xc2, 0xe1, 0x61, 0x47, 0xc0, 0xf3,
0xd4, 0x6b, 0x40, 0xd5, 0x14, 0x78, 0x04, 0xbf, 0x8a, 0x0d, 0xff, 0xf3, 0x59, 0x39,
0xa6, 0x11, 0xc7, 0xf5, 0xa6, 0x0a, 0xc1, 0x07, 0xf3, 0x3f, 0x33, 0xd6, 0x05, 0x9f,
0x27, 0x3d, 0x20, 0x79, 0xab, 0x1d, 0x90, 0xf2, 0x37, 0x77, 0xb3, 0x41, 0xc4, 0x5e,
0x2a, 0x9b, 0x9b, 0xf6, 0xbf, 0xb7, 0x1d, 0xc7,
],
soft: "",
qb64: "0GAMQmFTNnRTVsLhYUfA89RrQNUUeAS_ig3_81k5phHH9aYKwQfzPzPWBZ8nPSB5qx2Q8jd3s0HEXiqbm_a_tx3H",
qb2: &[
0xd0, 0x60, 0x0c, 0x42, 0x61, 0x53, 0x36, 0x74, 0x53, 0x56, 0xc2, 0xe1, 0x61, 0x47,
0xc0, 0xf3, 0xd4, 0x6b, 0x40, 0xd5, 0x14, 0x78, 0x04, 0xbf, 0x8a, 0x0d, 0xff, 0xf3,
0x59, 0x39, 0xa6, 0x11, 0xc7, 0xf5, 0xa6, 0x0a, 0xc1, 0x07, 0xf3, 0x3f, 0x33, 0xd6,
0x05, 0x9f, 0x27, 0x3d, 0x20, 0x79, 0xab, 0x1d, 0x90, 0xf2, 0x37, 0x77, 0xb3, 0x41,
0xc4, 0x5e, 0x2a, 0x9b, 0x9b, 0xf6, 0xbf, 0xb7, 0x1d, 0xc7,
],
hs: 2,
ss: 0,
xs: 0,
fs: Some(88),
ls: 0,
},
TestVector {
code_str: "0H",
rust_variant: "Long",
raw: &[0xd1, 0x29, 0xf6, 0x4f],
soft: "",
qb64: "0HDRKfZP",
qb2: &[0xd0, 0x70, 0xd1, 0x29, 0xf6, 0x4f],
hs: 2,
ss: 0,
xs: 0,
fs: Some(8),
ls: 0,
},
TestVector {
code_str: "0I",
rust_variant: "ECDSA256r1Sig",
raw: &[
0x1b, 0x94, 0x06, 0xed, 0x4f, 0x93, 0xad, 0xe8, 0xf5, 0x60, 0x65, 0xf1, 0xb7, 0x32,
0x13, 0x97, 0xb0, 0xd4, 0xa0, 0x3e, 0x1a, 0xb2, 0xc5, 0x4d, 0xd9, 0xaf, 0x99, 0xce,
0x1e, 0xcb, 0xfb, 0x90, 0xc8, 0x0a, 0x58, 0x88, 0x6d, 0xa9, 0x5e, 0x11, 0x81, 0xa5,
0x57, 0x03, 0xd9, 0x6b, 0xd2, 0x7d, 0x1b, 0x6e, 0xf5, 0x5c, 0xa2, 0xe4, 0xd4, 0x75,
0xb5, 0x27, 0x6f, 0x2d, 0xbb, 0x85, 0xf7, 0xa6,
],
soft: "",
qb64: "0IAblAbtT5Ot6PVgZfG3MhOXsNSgPhqyxU3Zr5nOHsv7kMgKWIhtqV4RgaVXA9lr0n0bbvVcouTUdbUnby27hfem",
qb2: &[
0xd0, 0x80, 0x1b, 0x94, 0x06, 0xed, 0x4f, 0x93, 0xad, 0xe8, 0xf5, 0x60, 0x65, 0xf1,
0xb7, 0x32, 0x13, 0x97, 0xb0, 0xd4, 0xa0, 0x3e, 0x1a, 0xb2, 0xc5, 0x4d, 0xd9, 0xaf,
0x99, 0xce, 0x1e, 0xcb, 0xfb, 0x90, 0xc8, 0x0a, 0x58, 0x88, 0x6d, 0xa9, 0x5e, 0x11,
0x81, 0xa5, 0x57, 0x03, 0xd9, 0x6b, 0xd2, 0x7d, 0x1b, 0x6e, 0xf5, 0x5c, 0xa2, 0xe4,
0xd4, 0x75, 0xb5, 0x27, 0x6f, 0x2d, 0xbb, 0x85, 0xf7, 0xa6,
],
hs: 2,
ss: 0,
xs: 0,
fs: Some(88),
ls: 0,
},
TestVector {
code_str: "1AAA",
rust_variant: "ECDSA256k1N",
raw: &[
0xbe, 0x8c, 0x54, 0x5a, 0xb3, 0x74, 0x45, 0x4e, 0x40, 0x3b, 0x1e, 0xb8, 0x31, 0x50,
0x1e, 0xbe, 0x89, 0xf3, 0xc3, 0xb0, 0x2f, 0x31, 0x37, 0xbd, 0x7b, 0x46, 0xb9, 0x96,
0xfa, 0xc2, 0x86, 0x98, 0x48,
],
soft: "",
qb64: "1AAAvoxUWrN0RU5AOx64MVAevonzw7AvMTe9e0a5lvrChphI",
qb2: &[
0xd4, 0x00, 0x00, 0xbe, 0x8c, 0x54, 0x5a, 0xb3, 0x74, 0x45, 0x4e, 0x40, 0x3b, 0x1e,
0xb8, 0x31, 0x50, 0x1e, 0xbe, 0x89, 0xf3, 0xc3, 0xb0, 0x2f, 0x31, 0x37, 0xbd, 0x7b,
0x46, 0xb9, 0x96, 0xfa, 0xc2, 0x86, 0x98, 0x48,
],
hs: 4,
ss: 0,
xs: 0,
fs: Some(48),
ls: 0,
},
TestVector {
code_str: "1AAB",
rust_variant: "ECDSA256k1",
raw: &[
0xfb, 0x19, 0xd5, 0x31, 0x4b, 0x3a, 0x5c, 0x2d, 0x4d, 0x03, 0xb5, 0x88, 0x20, 0x46,
0x0b, 0xf9, 0x0d, 0x8d, 0x4a, 0xb2, 0xf1, 0x20, 0xa3, 0xde, 0xc0, 0x7d, 0x1a, 0xdf,
0x03, 0x92, 0x48, 0x78, 0x7a,
],
soft: "",
qb64: "1AAB-xnVMUs6XC1NA7WIIEYL-Q2NSrLxIKPewH0a3wOSSHh6",
qb2: &[
0xd4, 0x00, 0x01, 0xfb, 0x19, 0xd5, 0x31, 0x4b, 0x3a, 0x5c, 0x2d, 0x4d, 0x03, 0xb5,
0x88, 0x20, 0x46, 0x0b, 0xf9, 0x0d, 0x8d, 0x4a, 0xb2, 0xf1, 0x20, 0xa3, 0xde, 0xc0,
0x7d, 0x1a, 0xdf, 0x03, 0x92, 0x48, 0x78, 0x7a,
],
hs: 4,
ss: 0,
xs: 0,
fs: Some(48),
ls: 0,
},
TestVector {
code_str: "1AAC",
rust_variant: "Ed448N",
raw: &[
0x70, 0x57, 0x2f, 0xf7, 0x0d, 0x40, 0xf0, 0xdc, 0x7a, 0x1d, 0xd2, 0x10, 0x66, 0x7d,
0x12, 0x93, 0xa1, 0xaf, 0x0d, 0x26, 0x26, 0xcf, 0x90, 0xf2, 0x4d, 0x15, 0xfe, 0x3f,
0x1e, 0x8e, 0xc3, 0x6a, 0x9b, 0x98, 0xca, 0x9e, 0x39, 0xc6, 0x85, 0x61, 0x73, 0xe8,
0x71, 0x4c, 0xdc, 0x96, 0xfd, 0x6d, 0x4e, 0x91, 0x9e, 0x0f, 0x9c, 0xf5, 0xbd, 0x19,
0xf2,
],
soft: "",
qb64: "1AACcFcv9w1A8Nx6HdIQZn0Sk6GvDSYmz5DyTRX-Px6Ow2qbmMqeOcaFYXPocUzclv1tTpGeD5z1vRny",
qb2: &[
0xd4, 0x00, 0x02, 0x70, 0x57, 0x2f, 0xf7, 0x0d, 0x40, 0xf0, 0xdc, 0x7a, 0x1d, 0xd2,
0x10, 0x66, 0x7d, 0x12, 0x93, 0xa1, 0xaf, 0x0d, 0x26, 0x26, 0xcf, 0x90, 0xf2, 0x4d,
0x15, 0xfe, 0x3f, 0x1e, 0x8e, 0xc3, 0x6a, 0x9b, 0x98, 0xca, 0x9e, 0x39, 0xc6, 0x85,
0x61, 0x73, 0xe8, 0x71, 0x4c, 0xdc, 0x96, 0xfd, 0x6d, 0x4e, 0x91, 0x9e, 0x0f, 0x9c,
0xf5, 0xbd, 0x19, 0xf2,
],
hs: 4,
ss: 0,
xs: 0,
fs: Some(80),
ls: 0,
},
TestVector {
code_str: "1AAD",
rust_variant: "Ed448",
raw: &[
0xc3, 0x35, 0xa0, 0x36, 0x43, 0xa9, 0x14, 0x28, 0x3d, 0x2c, 0x8d, 0x13, 0x28, 0x00,
0x68, 0x73, 0xb0, 0x98, 0x78, 0x4a, 0x08, 0x3b, 0x49, 0xb4, 0x48, 0xb3, 0xdc, 0x74,
0x12, 0xaf, 0x3b, 0xec, 0x43, 0xc9, 0xca, 0xa0, 0x96, 0xa9, 0xcd, 0xef, 0x32, 0x6c,
0x1d, 0x8b, 0x39, 0xa5, 0x26, 0xe8, 0x44, 0xd3, 0x24, 0x12, 0x0f, 0x2a, 0xca, 0x4e,
0x98,
],
soft: "",
qb64: "1AADwzWgNkOpFCg9LI0TKABoc7CYeEoIO0m0SLPcdBKvO-xDycqglqnN7zJsHYs5pSboRNMkEg8qyk6Y",
qb2: &[
0xd4, 0x00, 0x03, 0xc3, 0x35, 0xa0, 0x36, 0x43, 0xa9, 0x14, 0x28, 0x3d, 0x2c, 0x8d,
0x13, 0x28, 0x00, 0x68, 0x73, 0xb0, 0x98, 0x78, 0x4a, 0x08, 0x3b, 0x49, 0xb4, 0x48,
0xb3, 0xdc, 0x74, 0x12, 0xaf, 0x3b, 0xec, 0x43, 0xc9, 0xca, 0xa0, 0x96, 0xa9, 0xcd,
0xef, 0x32, 0x6c, 0x1d, 0x8b, 0x39, 0xa5, 0x26, 0xe8, 0x44, 0xd3, 0x24, 0x12, 0x0f,
0x2a, 0xca, 0x4e, 0x98,
],
hs: 4,
ss: 0,
xs: 0,
fs: Some(80),
ls: 0,
},
TestVector {
code_str: "1AAE",
rust_variant: "Ed448Sig",
raw: &[
0xbf, 0xd3, 0x91, 0xeb, 0x49, 0x70, 0x1f, 0x77, 0xb0, 0x4d, 0xb3, 0x67, 0xf1, 0x45,
0x80, 0x8a, 0x7e, 0x70, 0x14, 0x99, 0x0a, 0xe3, 0x6e, 0xbc, 0x52, 0x9a, 0x40, 0x06,
0x17, 0x3a, 0xf6, 0xac, 0xd6, 0xdc, 0x93, 0x96, 0xf3, 0x05, 0xff, 0xc3, 0xac, 0xd2,
0x44, 0x93, 0x0a, 0xc3, 0xc1, 0x2c, 0x78, 0x84, 0xa6, 0x71, 0xea, 0x47, 0x2e, 0xff,
0x95, 0x6f, 0xa2, 0xd0, 0x7d, 0xf8, 0x17, 0x78, 0x59, 0x68, 0x55, 0x52, 0xab, 0x1a,
0xdb, 0x29, 0x54, 0x69, 0xb1, 0x7e, 0x49, 0xa9, 0xf1, 0x66, 0xd0, 0xc2, 0x8c, 0x09,
0x74, 0x16, 0x50, 0x40, 0x52, 0x1d, 0xf8, 0xc5, 0x67, 0xdd, 0x83, 0xd3, 0xfc, 0x00,
0xa8, 0xde, 0x8a, 0x76, 0x69, 0x0d, 0x30, 0x84, 0x5c, 0x9f, 0xc1, 0x7f, 0xa0, 0x71,
0xc2, 0x0d,
],
soft: "",
qb64: "1AAEv9OR60lwH3ewTbNn8UWAin5wFJkK4268UppABhc69qzW3JOW8wX_w6zSRJMKw8EseISmcepHLv-Vb6LQffgXeFloVVKrGtspVGmxfkmp8WbQwowJdBZQQFId-MVn3YPT_ACo3op2aQ0whFyfwX-gccIN",
qb2: &[
0xd4, 0x00, 0x04, 0xbf, 0xd3, 0x91, 0xeb, 0x49, 0x70, 0x1f, 0x77, 0xb0, 0x4d, 0xb3,
0x67, 0xf1, 0x45, 0x80, 0x8a, 0x7e, 0x70, 0x14, 0x99, 0x0a, 0xe3, 0x6e, 0xbc, 0x52,
0x9a, 0x40, 0x06, 0x17, 0x3a, 0xf6, 0xac, 0xd6, 0xdc, 0x93, 0x96, 0xf3, 0x05, 0xff,
0xc3, 0xac, 0xd2, 0x44, 0x93, 0x0a, 0xc3, 0xc1, 0x2c, 0x78, 0x84, 0xa6, 0x71, 0xea,
0x47, 0x2e, 0xff, 0x95, 0x6f, 0xa2, 0xd0, 0x7d, 0xf8, 0x17, 0x78, 0x59, 0x68, 0x55,
0x52, 0xab, 0x1a, 0xdb, 0x29, 0x54, 0x69, 0xb1, 0x7e, 0x49, 0xa9, 0xf1, 0x66, 0xd0,
0xc2, 0x8c, 0x09, 0x74, 0x16, 0x50, 0x40, 0x52, 0x1d, 0xf8, 0xc5, 0x67, 0xdd, 0x83,
0xd3, 0xfc, 0x00, 0xa8, 0xde, 0x8a, 0x76, 0x69, 0x0d, 0x30, 0x84, 0x5c, 0x9f, 0xc1,
0x7f, 0xa0, 0x71, 0xc2, 0x0d,
],
hs: 4,
ss: 0,
xs: 0,
fs: Some(156),
ls: 0,
},
TestVector {
code_str: "1AAG",
rust_variant: "DateTime",
raw: &[
0x34, 0x44, 0x8c, 0x21, 0xed, 0x49, 0x70, 0xe1, 0xb2, 0x7c, 0x1f, 0x07, 0xf9, 0xa1,
0x9b, 0xcc, 0x3d, 0xb5, 0x28, 0x4f, 0x8d, 0x03, 0x8d, 0x68,
],
soft: "",
qb64: "1AAGNESMIe1JcOGyfB8H-aGbzD21KE-NA41o",
qb2: &[
0xd4, 0x00, 0x06, 0x34, 0x44, 0x8c, 0x21, 0xed, 0x49, 0x70, 0xe1, 0xb2, 0x7c, 0x1f,
0x07, 0xf9, 0xa1, 0x9b, 0xcc, 0x3d, 0xb5, 0x28, 0x4f, 0x8d, 0x03, 0x8d, 0x68,
],
hs: 4,
ss: 0,
xs: 0,
fs: Some(36),
ls: 0,
},
TestVector {
code_str: "1AAH",
rust_variant: "X25519CipherSalt",
raw: &[
0x17, 0x39, 0xfe, 0xd7, 0xe9, 0x1d, 0x76, 0xf2, 0x1e, 0xa5, 0xd5, 0x27, 0x7f, 0xee,
0xb7, 0x4a, 0x82, 0xb4, 0x45, 0x6a, 0xd5, 0x7b, 0xfa, 0x78, 0x3e, 0x74, 0x8d, 0x25,
0x62, 0x30, 0xeb, 0x99, 0x82, 0xbf, 0xe1, 0x22, 0xdd, 0x11, 0x46, 0xc5, 0xca, 0xda,
0x6a, 0x57, 0xef, 0xc9, 0x81, 0x44, 0xd2, 0x00, 0x48, 0xb9, 0x4c, 0xd6, 0x96, 0x94,
0xff, 0xa8, 0x7d, 0xdd, 0x26, 0x72, 0x89, 0x7b, 0x58, 0x55, 0x8d, 0xc3, 0x8b, 0x60,
0x74, 0xee,
],
soft: "",
qb64: "1AAHFzn-1-kddvIepdUnf-63SoK0RWrVe_p4PnSNJWIw65mCv-Ei3RFGxcraalfvyYFE0gBIuUzWlpT_qH3dJnKJe1hVjcOLYHTu",
qb2: &[
0xd4, 0x00, 0x07, 0x17, 0x39, 0xfe, 0xd7, 0xe9, 0x1d, 0x76, 0xf2, 0x1e, 0xa5, 0xd5,
0x27, 0x7f, 0xee, 0xb7, 0x4a, 0x82, 0xb4, 0x45, 0x6a, 0xd5, 0x7b, 0xfa, 0x78, 0x3e,
0x74, 0x8d, 0x25, 0x62, 0x30, 0xeb, 0x99, 0x82, 0xbf, 0xe1, 0x22, 0xdd, 0x11, 0x46,
0xc5, 0xca, 0xda, 0x6a, 0x57, 0xef, 0xc9, 0x81, 0x44, 0xd2, 0x00, 0x48, 0xb9, 0x4c,
0xd6, 0x96, 0x94, 0xff, 0xa8, 0x7d, 0xdd, 0x26, 0x72, 0x89, 0x7b, 0x58, 0x55, 0x8d,
0xc3, 0x8b, 0x60, 0x74, 0xee,
],
hs: 4,
ss: 0,
xs: 0,
fs: Some(100),
ls: 0,
},
TestVector {
code_str: "1AAI",
rust_variant: "ECDSA256r1N",
raw: &[
0x52, 0xde, 0x30, 0xfb, 0xb2, 0x3d, 0x92, 0x62, 0x3b, 0xdb, 0xc6, 0x69, 0x0b, 0x51,
0xbe, 0x79, 0xb4, 0xe9, 0xcf, 0x61, 0x62, 0xfd, 0xa9, 0xca, 0xd2, 0xa6, 0xfb, 0x26,
0x7e, 0xf6, 0x09, 0x20, 0x80,
],
soft: "",
qb64: "1AAIUt4w-7I9kmI728ZpC1G-ebTpz2Fi_anK0qb7Jn72CSCA",
qb2: &[
0xd4, 0x00, 0x08, 0x52, 0xde, 0x30, 0xfb, 0xb2, 0x3d, 0x92, 0x62, 0x3b, 0xdb, 0xc6,
0x69, 0x0b, 0x51, 0xbe, 0x79, 0xb4, 0xe9, 0xcf, 0x61, 0x62, 0xfd, 0xa9, 0xca, 0xd2,
0xa6, 0xfb, 0x26, 0x7e, 0xf6, 0x09, 0x20, 0x80,
],
hs: 4,
ss: 0,
xs: 0,
fs: Some(48),
ls: 0,
},
TestVector {
code_str: "1AAJ",
rust_variant: "ECDSA256r1",
raw: &[
0xf7, 0x97, 0x54, 0xde, 0x19, 0xdf, 0xd8, 0x70, 0x19, 0x86, 0xe9, 0x74, 0x03, 0xb8,
0x24, 0x68, 0xde, 0xa7, 0xf8, 0x27, 0x13, 0x78, 0xc8, 0xf8, 0x43, 0x56, 0x9f, 0xb1,
0x65, 0xa6, 0x14, 0xda, 0x54,
],
soft: "",
qb64: "1AAJ95dU3hnf2HAZhul0A7gkaN6n-CcTeMj4Q1afsWWmFNpU",
qb2: &[
0xd4, 0x00, 0x09, 0xf7, 0x97, 0x54, 0xde, 0x19, 0xdf, 0xd8, 0x70, 0x19, 0x86, 0xe9,
0x74, 0x03, 0xb8, 0x24, 0x68, 0xde, 0xa7, 0xf8, 0x27, 0x13, 0x78, 0xc8, 0xf8, 0x43,
0x56, 0x9f, 0xb1, 0x65, 0xa6, 0x14, 0xda, 0x54,
],
hs: 4,
ss: 0,
xs: 0,
fs: Some(48),
ls: 0,
},
TestVector {
code_str: "1AAK",
rust_variant: "Null",
raw: &[],
soft: "",
qb64: "1AAK",
qb2: &[0xd4, 0x00, 0x0a],
hs: 4,
ss: 0,
xs: 0,
fs: Some(4),
ls: 0,
},
TestVector {
code_str: "1AAL",
rust_variant: "No",
raw: &[],
soft: "",
qb64: "1AAL",
qb2: &[0xd4, 0x00, 0x0b],
hs: 4,
ss: 0,
xs: 0,
fs: Some(4),
ls: 0,
},
TestVector {
code_str: "1AAM",
rust_variant: "Yes",
raw: &[],
soft: "",
qb64: "1AAM",
qb2: &[0xd4, 0x00, 0x0c],
hs: 4,
ss: 0,
xs: 0,
fs: Some(4),
ls: 0,
},
TestVector {
code_str: "1AAO",
rust_variant: "Escape",
raw: &[],
soft: "",
qb64: "1AAO",
qb2: &[0xd4, 0x00, 0x0e],
hs: 4,
ss: 0,
xs: 0,
fs: Some(4),
ls: 0,
},
TestVector {
code_str: "1AAP",
rust_variant: "Empty",
raw: &[],
soft: "",
qb64: "1AAP",
qb2: &[0xd4, 0x00, 0x0f],
hs: 4,
ss: 0,
xs: 0,
fs: Some(4),
ls: 0,
},
TestVector {
code_str: "1___",
rust_variant: "TBD0",
raw: &[0x61, 0xf4, 0x51],
soft: "",
qb64: "1___YfRR",
qb2: &[0xd7, 0xff, 0xff, 0x61, 0xf4, 0x51],
hs: 4,
ss: 0,
xs: 0,
fs: Some(8),
ls: 0,
},
TestVector {
code_str: "2___",
rust_variant: "TBD1",
raw: &[0xc2, 0x7c],
soft: "",
qb64: "2___AMJ8",
qb2: &[0xdb, 0xff, 0xff, 0x00, 0xc2, 0x7c],
hs: 4,
ss: 0,
xs: 0,
fs: Some(8),
ls: 1,
},
TestVector {
code_str: "3___",
rust_variant: "TBD2",
raw: &[0x09],
soft: "",
qb64: "3___AAAJ",
qb2: &[0xdf, 0xff, 0xff, 0x00, 0x00, 0x09],
hs: 4,
ss: 0,
xs: 0,
fs: Some(8),
ls: 2,
},
];
pub(super) const SPECIAL_VECTORS: &[TestVector] = &[
TestVector {
code_str: "X",
rust_variant: "Tag3",
raw: &[],
soft: "AAA",
qb64: "XAAA",
qb2: &[0x5c, 0x00, 0x00],
hs: 1,
ss: 3,
xs: 0,
fs: Some(4),
ls: 0,
},
TestVector {
code_str: "Y",
rust_variant: "Tag7",
raw: &[],
soft: "AAAAAAA",
qb64: "YAAAAAAA",
qb2: &[0x60, 0x00, 0x00, 0x00, 0x00, 0x00],
hs: 1,
ss: 7,
xs: 0,
fs: Some(8),
ls: 0,
},
TestVector {
code_str: "Z",
rust_variant: "Tag11",
raw: &[],
soft: "AAAAAAAAAAA",
qb64: "ZAAAAAAAAAAA",
qb2: &[0x64, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00],
hs: 1,
ss: 11,
xs: 0,
fs: Some(12),
ls: 0,
},
TestVector {
code_str: "0J",
rust_variant: "Tag1",
raw: &[],
soft: "A",
qb64: "0J_A",
qb2: &[0xd0, 0x9f, 0xc0],
hs: 2,
ss: 2,
xs: 1,
fs: Some(4),
ls: 0,
},
TestVector {
code_str: "0K",
rust_variant: "Tag2",
raw: &[],
soft: "AA",
qb64: "0KAA",
qb2: &[0xd0, 0xa0, 0x00],
hs: 2,
ss: 2,
xs: 0,
fs: Some(4),
ls: 0,
},
TestVector {
code_str: "0L",
rust_variant: "Tag5",
raw: &[],
soft: "AAAAA",
qb64: "0L_AAAAA",
qb2: &[0xd0, 0xbf, 0xc0, 0x00, 0x00, 0x00],
hs: 2,
ss: 6,
xs: 1,
fs: Some(8),
ls: 0,
},
TestVector {
code_str: "0M",
rust_variant: "Tag6",
raw: &[],
soft: "AAAAAA",
qb64: "0MAAAAAA",
qb2: &[0xd0, 0xc0, 0x00, 0x00, 0x00, 0x00],
hs: 2,
ss: 6,
xs: 0,
fs: Some(8),
ls: 0,
},
TestVector {
code_str: "0N",
rust_variant: "Tag9",
raw: &[],
soft: "AAAAAAAAA",
qb64: "0N_AAAAAAAAA",
qb2: &[0xd0, 0xdf, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00],
hs: 2,
ss: 10,
xs: 1,
fs: Some(12),
ls: 0,
},
TestVector {
code_str: "0O",
rust_variant: "Tag10",
raw: &[],
soft: "AAAAAAAAAA",
qb64: "0OAAAAAAAAAA",
qb2: &[0xd0, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00],
hs: 2,
ss: 10,
xs: 0,
fs: Some(12),
ls: 0,
},
TestVector {
code_str: "0P",
rust_variant: "GramHeadNeck",
raw: &[0x45, 0x9d, 0xce, 0xeb, 0x89, 0xc6],
soft: "AAAAAAAAAAAAAAAAAAAAAA",
qb64: "0PAAAAAAAAAAAAAAAAAAAAAARZ3O64nG",
qb2: &[
0xd0, 0xf0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x45, 0x9d, 0xce, 0xeb, 0x89, 0xc6,
],
hs: 2,
ss: 22,
xs: 0,
fs: Some(32),
ls: 0,
},
TestVector {
code_str: "0Q",
rust_variant: "GramHead",
raw: &[0x7b, 0x77, 0x6f],
soft: "AAAAAAAAAAAAAAAAAAAAAA",
qb64: "0QAAAAAAAAAAAAAAAAAAAAAAe3dv",
qb2: &[
0xd1, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x7b, 0x77, 0x6f,
],
hs: 2,
ss: 22,
xs: 0,
fs: Some(28),
ls: 0,
},
TestVector {
code_str: "0R",
rust_variant: "GramHeadAIDNeck",
raw: &[
0xd3, 0xbb, 0x97, 0x44, 0x52, 0xda, 0x3e, 0xd4, 0xef, 0x16, 0x47, 0xe1, 0x73, 0x3e,
0xc0, 0x76, 0x91, 0x9c, 0xab, 0x61, 0x56, 0x07, 0x7e, 0xd9, 0x53, 0x2e, 0x7c, 0x36,
0x5a, 0xcc, 0x42, 0x57, 0x47, 0xe1, 0x98, 0xb3, 0xe1, 0x46, 0x8e,
],
soft: "AAAAAAAAAAAAAAAAAAAAAA",
qb64: "0RAAAAAAAAAAAAAAAAAAAAAA07uXRFLaPtTvFkfhcz7AdpGcq2FWB37ZUy58NlrMQldH4Ziz4UaO",
qb2: &[
0xd1, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0xd3, 0xbb, 0x97, 0x44, 0x52, 0xda, 0x3e, 0xd4, 0xef, 0x16,
0x47, 0xe1, 0x73, 0x3e, 0xc0, 0x76, 0x91, 0x9c, 0xab, 0x61, 0x56, 0x07, 0x7e, 0xd9,
0x53, 0x2e, 0x7c, 0x36, 0x5a, 0xcc, 0x42, 0x57, 0x47, 0xe1, 0x98, 0xb3, 0xe1, 0x46,
0x8e,
],
hs: 2,
ss: 22,
xs: 0,
fs: Some(76),
ls: 0,
},
TestVector {
code_str: "0S",
rust_variant: "GramHeadAID",
raw: &[
0x02, 0x84, 0xf2, 0x30, 0x15, 0x3d, 0xb8, 0x68, 0x7d, 0x8e, 0xc2, 0x3d, 0xb0, 0x79,
0xa5, 0xb6, 0x7d, 0x72, 0xca, 0x04, 0x17, 0x4b, 0x38, 0x67, 0xb1, 0x3e, 0x4e, 0xa9,
0x94, 0x5e, 0x79, 0x8d, 0x87, 0x58, 0x6c, 0xff,
],
soft: "AAAAAAAAAAAAAAAAAAAAAA",
qb64: "0SAAAAAAAAAAAAAAAAAAAAAAAoTyMBU9uGh9jsI9sHmltn1yygQXSzhnsT5OqZReeY2HWGz_",
qb2: &[
0xd1, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x02, 0x84, 0xf2, 0x30, 0x15, 0x3d, 0xb8, 0x68, 0x7d, 0x8e,
0xc2, 0x3d, 0xb0, 0x79, 0xa5, 0xb6, 0x7d, 0x72, 0xca, 0x04, 0x17, 0x4b, 0x38, 0x67,
0xb1, 0x3e, 0x4e, 0xa9, 0x94, 0x5e, 0x79, 0x8d, 0x87, 0x58, 0x6c, 0xff,
],
hs: 2,
ss: 22,
xs: 0,
fs: Some(72),
ls: 0,
},
TestVector {
code_str: "1AAF",
rust_variant: "Tag4",
raw: &[],
soft: "AAAA",
qb64: "1AAFAAAA",
qb2: &[0xd4, 0x00, 0x05, 0x00, 0x00, 0x00],
hs: 4,
ss: 4,
xs: 0,
fs: Some(8),
ls: 0,
},
TestVector {
code_str: "1AAN",
rust_variant: "Tag8",
raw: &[],
soft: "AAAAAAAA",
qb64: "1AANAAAAAAAA",
qb2: &[0xd4, 0x00, 0x0d, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00],
hs: 4,
ss: 8,
xs: 0,
fs: Some(12),
ls: 0,
},
TestVector {
code_str: "1__-",
rust_variant: "TBD0S",
raw: &[0xda, 0xac, 0xdb, 0x88],
soft: "AA",
qb64: "1__-AADarNuI",
qb2: &[0xd7, 0xff, 0xfe, 0x00, 0x00, 0xda, 0xac, 0xdb, 0x88],
hs: 4,
ss: 2,
xs: 0,
fs: Some(12),
ls: 0,
},
TestVector {
code_str: "2__-",
rust_variant: "TBD1S",
raw: &[0xa0, 0xb7, 0xe3],
soft: "A",
qb64: "2__-_AAAoLfj",
qb2: &[0xdb, 0xff, 0xfe, 0xfc, 0x00, 0x00, 0xa0, 0xb7, 0xe3],
hs: 4,
ss: 2,
xs: 1,
fs: Some(12),
ls: 1,
},
TestVector {
code_str: "3__-",
rust_variant: "TBD2S",
raw: &[0xdf, 0x8a],
soft: "AA",
qb64: "3__-AAAAAN-K",
qb2: &[0xdf, 0xff, 0xfe, 0x00, 0x00, 0x00, 0x00, 0xdf, 0x8a],
hs: 4,
ss: 2,
xs: 0,
fs: Some(12),
ls: 2,
},
];
pub(super) const VARIABLE_VECTORS: &[TestVector] = &[
TestVector {
code_str: "4A",
rust_variant: "StrB64_L0",
raw: &[0x9e, 0x11, 0x3c, 0xa1, 0xaf, 0xeb],
soft: "AC",
qb64: "4AACnhE8oa_r",
qb2: &[0xe0, 0x00, 0x02, 0x9e, 0x11, 0x3c, 0xa1, 0xaf, 0xeb],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "5A",
rust_variant: "StrB64_L1",
raw: &[0x49, 0xff, 0x3a, 0xbf, 0x17],
soft: "AC",
qb64: "5AACAEn_Or8X",
qb2: &[0xe4, 0x00, 0x02, 0x00, 0x49, 0xff, 0x3a, 0xbf, 0x17],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "6A",
rust_variant: "StrB64_L2",
raw: &[0x6f, 0xfa, 0x19, 0xc2],
soft: "AC",
qb64: "6AACAABv-hnC",
qb2: &[0xe8, 0x00, 0x02, 0x00, 0x00, 0x6f, 0xfa, 0x19, 0xc2],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 2,
},
TestVector {
code_str: "7AAA",
rust_variant: "StrB64Big_L0",
raw: &[0xa2, 0xb4, 0xdf, 0x19, 0x71, 0x2a],
soft: "AAAC",
qb64: "7AAAAAACorTfGXEq",
qb2: &[
0xec, 0x00, 0x00, 0x00, 0x00, 0x02, 0xa2, 0xb4, 0xdf, 0x19, 0x71, 0x2a,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "8AAA",
rust_variant: "StrB64Big_L1",
raw: &[0xb1, 0x4c, 0xe7, 0x07, 0x0b],
soft: "AAAC",
qb64: "8AAAAAACALFM5wcL",
qb2: &[
0xf0, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0xb1, 0x4c, 0xe7, 0x07, 0x0b,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "9AAA",
rust_variant: "StrB64Big_L2",
raw: &[0x53, 0xcb, 0x0e, 0x4b],
soft: "AAAC",
qb64: "9AAAAAACAABTyw5L",
qb2: &[
0xf4, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x53, 0xcb, 0x0e, 0x4b,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 2,
},
TestVector {
code_str: "4B",
rust_variant: "Bytes_L0",
raw: &[0x5b, 0x5f, 0x6e, 0x25, 0x3e, 0x87],
soft: "AC",
qb64: "4BACW19uJT6H",
qb2: &[0xe0, 0x10, 0x02, 0x5b, 0x5f, 0x6e, 0x25, 0x3e, 0x87],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "5B",
rust_variant: "Bytes_L1",
raw: &[0x69, 0x90, 0xae, 0xca, 0x2e],
soft: "AC",
qb64: "5BACAGmQrsou",
qb2: &[0xe4, 0x10, 0x02, 0x00, 0x69, 0x90, 0xae, 0xca, 0x2e],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "6B",
rust_variant: "Bytes_L2",
raw: &[0x2b, 0x2c, 0x14, 0x9c],
soft: "AC",
qb64: "6BACAAArLBSc",
qb2: &[0xe8, 0x10, 0x02, 0x00, 0x00, 0x2b, 0x2c, 0x14, 0x9c],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 2,
},
TestVector {
code_str: "7AAB",
rust_variant: "BytesBig_L0",
raw: &[0xde, 0x61, 0x9e, 0xae, 0x3d, 0x7f],
soft: "AAAC",
qb64: "7AABAAAC3mGerj1_",
qb2: &[
0xec, 0x00, 0x01, 0x00, 0x00, 0x02, 0xde, 0x61, 0x9e, 0xae, 0x3d, 0x7f,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "8AAB",
rust_variant: "BytesBig_L1",
raw: &[0xe9, 0x95, 0x24, 0x3b, 0x76],
soft: "AAAC",
qb64: "8AABAAACAOmVJDt2",
qb2: &[
0xf0, 0x00, 0x01, 0x00, 0x00, 0x02, 0x00, 0xe9, 0x95, 0x24, 0x3b, 0x76,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "9AAB",
rust_variant: "BytesBig_L2",
raw: &[0xa3, 0x41, 0x75, 0x41],
soft: "AAAC",
qb64: "9AABAAACAACjQXVB",
qb2: &[
0xf4, 0x00, 0x01, 0x00, 0x00, 0x02, 0x00, 0x00, 0xa3, 0x41, 0x75, 0x41,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 2,
},
TestVector {
code_str: "4C",
rust_variant: "X25519Cipher_L0",
raw: &[0xaa, 0x02, 0xe6, 0xcd, 0x77, 0xe6],
soft: "AC",
qb64: "4CACqgLmzXfm",
qb2: &[0xe0, 0x20, 0x02, 0xaa, 0x02, 0xe6, 0xcd, 0x77, 0xe6],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "5C",
rust_variant: "X25519Cipher_L1",
raw: &[0x49, 0xad, 0x8b, 0x28, 0x12],
soft: "AC",
qb64: "5CACAEmtiygS",
qb2: &[0xe4, 0x20, 0x02, 0x00, 0x49, 0xad, 0x8b, 0x28, 0x12],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "6C",
rust_variant: "X25519Cipher_L2",
raw: &[0x71, 0xf1, 0x58, 0xfc],
soft: "AC",
qb64: "6CACAABx8Vj8",
qb2: &[0xe8, 0x20, 0x02, 0x00, 0x00, 0x71, 0xf1, 0x58, 0xfc],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 2,
},
TestVector {
code_str: "7AAC",
rust_variant: "X25519CipherBig_L0",
raw: &[0x96, 0x4c, 0xa3, 0xf6, 0x6c, 0xb0],
soft: "AAAC",
qb64: "7AACAAAClkyj9myw",
qb2: &[
0xec, 0x00, 0x02, 0x00, 0x00, 0x02, 0x96, 0x4c, 0xa3, 0xf6, 0x6c, 0xb0,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "8AAC",
rust_variant: "X25519CipherBig_L1",
raw: &[0x40, 0x74, 0xd8, 0x4d, 0x32],
soft: "AAAC",
qb64: "8AACAAACAEB02E0y",
qb2: &[
0xf0, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x40, 0x74, 0xd8, 0x4d, 0x32,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "9AAC",
rust_variant: "X25519CipherBig_L2",
raw: &[0xff, 0x62, 0xda, 0x7b],
soft: "AAAC",
qb64: "9AACAAACAAD_Ytp7",
qb2: &[
0xf4, 0x00, 0x02, 0x00, 0x00, 0x02, 0x00, 0x00, 0xff, 0x62, 0xda, 0x7b,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 2,
},
TestVector {
code_str: "4D",
rust_variant: "X25519CipherQB64_L0",
raw: &[0x1b, 0x3c, 0x61, 0x92, 0x5b, 0x93],
soft: "AC",
qb64: "4DACGzxhkluT",
qb2: &[0xe0, 0x30, 0x02, 0x1b, 0x3c, 0x61, 0x92, 0x5b, 0x93],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "5D",
rust_variant: "X25519CipherQB64_L1",
raw: &[0x4b, 0xfe, 0xb3, 0x4b, 0x05],
soft: "AC",
qb64: "5DACAEv-s0sF",
qb2: &[0xe4, 0x30, 0x02, 0x00, 0x4b, 0xfe, 0xb3, 0x4b, 0x05],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "6D",
rust_variant: "X25519CipherQB64_L2",
raw: &[0xfa, 0xd4, 0xa8, 0x65],
soft: "AC",
qb64: "6DACAAD61Khl",
qb2: &[0xe8, 0x30, 0x02, 0x00, 0x00, 0xfa, 0xd4, 0xa8, 0x65],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 2,
},
TestVector {
code_str: "7AAD",
rust_variant: "X25519CipherQB64Big_L0",
raw: &[0x46, 0x02, 0x90, 0xdd, 0xaf, 0xc7],
soft: "AAAC",
qb64: "7AADAAACRgKQ3a_H",
qb2: &[
0xec, 0x00, 0x03, 0x00, 0x00, 0x02, 0x46, 0x02, 0x90, 0xdd, 0xaf, 0xc7,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "8AAD",
rust_variant: "X25519CipherQB64Big_L1",
raw: &[0xbe, 0xf9, 0x0c, 0xe9, 0x9b],
soft: "AAAC",
qb64: "8AADAAACAL75DOmb",
qb2: &[
0xf0, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0xbe, 0xf9, 0x0c, 0xe9, 0x9b,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "9AAD",
rust_variant: "X25519CipherQB64Big_L2",
raw: &[0xbe, 0x7f, 0xd5, 0xe7],
soft: "AAAC",
qb64: "9AADAAACAAC-f9Xn",
qb2: &[
0xf4, 0x00, 0x03, 0x00, 0x00, 0x02, 0x00, 0x00, 0xbe, 0x7f, 0xd5, 0xe7,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 2,
},
TestVector {
code_str: "4E",
rust_variant: "X25519CipherQB2_L0",
raw: &[0xe7, 0x49, 0xc6, 0xcc, 0x3a, 0x9b],
soft: "AC",
qb64: "4EAC50nGzDqb",
qb2: &[0xe0, 0x40, 0x02, 0xe7, 0x49, 0xc6, 0xcc, 0x3a, 0x9b],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "5E",
rust_variant: "X25519CipherQB2_L1",
raw: &[0xcd, 0x5a, 0x38, 0xa2, 0x30],
soft: "AC",
qb64: "5EACAM1aOKIw",
qb2: &[0xe4, 0x40, 0x02, 0x00, 0xcd, 0x5a, 0x38, 0xa2, 0x30],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "6E",
rust_variant: "X25519CipherQB2_L2",
raw: &[0x9e, 0x40, 0xad, 0xc1],
soft: "AC",
qb64: "6EACAACeQK3B",
qb2: &[0xe8, 0x40, 0x02, 0x00, 0x00, 0x9e, 0x40, 0xad, 0xc1],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 2,
},
TestVector {
code_str: "7AAE",
rust_variant: "X25519CipherQB2Big_L0",
raw: &[0xb8, 0xc4, 0xa8, 0xae, 0xd6, 0x23],
soft: "AAAC",
qb64: "7AAEAAACuMSortYj",
qb2: &[
0xec, 0x00, 0x04, 0x00, 0x00, 0x02, 0xb8, 0xc4, 0xa8, 0xae, 0xd6, 0x23,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "8AAE",
rust_variant: "X25519CipherQB2Big_L1",
raw: &[0xa0, 0x18, 0xe7, 0xa0, 0xa5],
soft: "AAAC",
qb64: "8AAEAAACAKAY56Cl",
qb2: &[
0xf0, 0x00, 0x04, 0x00, 0x00, 0x02, 0x00, 0xa0, 0x18, 0xe7, 0xa0, 0xa5,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "9AAE",
rust_variant: "X25519CipherQB2Big_L2",
raw: &[0x0a, 0x4f, 0xc9, 0x70],
soft: "AAAC",
qb64: "9AAEAAACAAAKT8lw",
qb2: &[
0xf4, 0x00, 0x04, 0x00, 0x00, 0x02, 0x00, 0x00, 0x0a, 0x4f, 0xc9, 0x70,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 2,
},
TestVector {
code_str: "4F",
rust_variant: "HPKEBaseCipher_L0",
raw: &[0x08, 0x94, 0x5d, 0xbb, 0x21, 0x17],
soft: "AC",
qb64: "4FACCJRduyEX",
qb2: &[0xe0, 0x50, 0x02, 0x08, 0x94, 0x5d, 0xbb, 0x21, 0x17],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "5F",
rust_variant: "HPKEBaseCipher_L1",
raw: &[0xe8, 0x4b, 0x53, 0xbf, 0x6a],
soft: "AC",
qb64: "5FACAOhLU79q",
qb2: &[0xe4, 0x50, 0x02, 0x00, 0xe8, 0x4b, 0x53, 0xbf, 0x6a],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "6F",
rust_variant: "HPKEBaseCipher_L2",
raw: &[0x2c, 0x33, 0x21, 0xc9],
soft: "AC",
qb64: "6FACAAAsMyHJ",
qb2: &[0xe8, 0x50, 0x02, 0x00, 0x00, 0x2c, 0x33, 0x21, 0xc9],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 2,
},
TestVector {
code_str: "7AAF",
rust_variant: "HPKEBaseCipherBig_L0",
raw: &[0x8a, 0xe0, 0xf8, 0x5d, 0x87, 0x80],
soft: "AAAC",
qb64: "7AAFAAACiuD4XYeA",
qb2: &[
0xec, 0x00, 0x05, 0x00, 0x00, 0x02, 0x8a, 0xe0, 0xf8, 0x5d, 0x87, 0x80,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "8AAF",
rust_variant: "HPKEBaseCipherBig_L1",
raw: &[0xe9, 0x45, 0xd4, 0x2a, 0x41],
soft: "AAAC",
qb64: "8AAFAAACAOlF1CpB",
qb2: &[
0xf0, 0x00, 0x05, 0x00, 0x00, 0x02, 0x00, 0xe9, 0x45, 0xd4, 0x2a, 0x41,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "9AAF",
rust_variant: "HPKEBaseCipherBig_L2",
raw: &[0xe9, 0xd3, 0xf1, 0x7b],
soft: "AAAC",
qb64: "9AAFAAACAADp0_F7",
qb2: &[
0xf4, 0x00, 0x05, 0x00, 0x00, 0x02, 0x00, 0x00, 0xe9, 0xd3, 0xf1, 0x7b,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 2,
},
TestVector {
code_str: "4H",
rust_variant: "Decimal_L0",
raw: &[0xf7, 0xce, 0x4b, 0xbf, 0xde, 0x56],
soft: "AC",
qb64: "4HAC985Lv95W",
qb2: &[0xe0, 0x70, 0x02, 0xf7, 0xce, 0x4b, 0xbf, 0xde, 0x56],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "5H",
rust_variant: "Decimal_L1",
raw: &[0xcd, 0x1d, 0x77, 0xf6, 0x13],
soft: "AC",
qb64: "5HACAM0dd_YT",
qb2: &[0xe4, 0x70, 0x02, 0x00, 0xcd, 0x1d, 0x77, 0xf6, 0x13],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "6H",
rust_variant: "Decimal_L2",
raw: &[0x24, 0xc1, 0xf7, 0x39],
soft: "AC",
qb64: "6HACAAAkwfc5",
qb2: &[0xe8, 0x70, 0x02, 0x00, 0x00, 0x24, 0xc1, 0xf7, 0x39],
hs: 2,
ss: 2,
xs: 0,
fs: None,
ls: 2,
},
TestVector {
code_str: "7AAH",
rust_variant: "DecimalBig_L0",
raw: &[0xdc, 0xad, 0xb9, 0xac, 0xfa, 0x65],
soft: "AAAC",
qb64: "7AAHAAAC3K25rPpl",
qb2: &[
0xec, 0x00, 0x07, 0x00, 0x00, 0x02, 0xdc, 0xad, 0xb9, 0xac, 0xfa, 0x65,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 0,
},
TestVector {
code_str: "8AAH",
rust_variant: "DecimalBig_L1",
raw: &[0xf7, 0xd8, 0xcd, 0x8e, 0x5d],
soft: "AAAC",
qb64: "8AAHAAACAPfYzY5d",
qb2: &[
0xf0, 0x00, 0x07, 0x00, 0x00, 0x02, 0x00, 0xf7, 0xd8, 0xcd, 0x8e, 0x5d,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 1,
},
TestVector {
code_str: "9AAH",
rust_variant: "DecimalBig_L2",
raw: &[0x17, 0xca, 0x65, 0x03],
soft: "AAAC",
qb64: "9AAHAAACAAAXymUD",
qb2: &[
0xf4, 0x00, 0x07, 0x00, 0x00, 0x02, 0x00, 0x00, 0x17, 0xca, 0x65, 0x03,
],
hs: 4,
ss: 4,
xs: 0,
fs: None,
ls: 2,
},
];