{
"name": "PASERK k3.local Test Vectors",
"tests": [
{
"name": "k3.local-1",
"expect-fail": false,
"key": "0000000000000000000000000000000000000000000000000000000000000000",
"paserk": "k3.local.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
},
{
"name": "k3.local-2",
"expect-fail": false,
"key": "707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f",
"paserk": "k3.local.cHFyc3R1dnd4eXp7fH1-f4CBgoOEhYaHiImKi4yNjo8"
},
{
"name": "k3.local-3",
"expect-fail": false,
"key": "707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e90",
"paserk": "k3.local.cHFyc3R1dnd4eXp7fH1-f4CBgoOEhYaHiImKi4yNjpA"
},
{
"name": "k3.local-fail-1",
"expect-fail": true,
"key": null,
"paserk": "k3.local.HFyc3R1dnd4eXp7fH1-f4CBgoOEhYaHiImKi4yNjo8",
"comment": "If the PASERK is too short, this must fail to deserialize."
},
{
"name": "k3.local-fail-2",
"expect-fail": true,
"key": null,
"paserk": "k4.local.cHFyc3R1dnd4eXp7fH1-f4CBgoOEhYaHiImKi4yNjo8",
"comment": "Implementations MUST NOT accept a PASERK of the wrong version."
}
]
}
|