PHP Classes

File: tests/test-vectors/k3.local.json

Recommend this page to a friend!
  Classes of Scott Arciszewski   PASERK PHP   tests/test-vectors/k3.local.json   Download  
File: tests/test-vectors/k3.local.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PASERK PHP
Extend PASETO to wrap and serialize keys
Author: By
Last change:
Date: 1 year ago
Size: 1,211 bytes
 

Contents

Class file image Download
{ "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." } ] }