PHP Classes

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

Recommend this page to a friend!
  Classes of Scott Arciszewski   PASERK PHP   tests/test-vectors/k3.local-wrap.pie.json   Download  
File: tests/test-vectors/k3.local-wrap.pie.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,843 bytes
 

Contents

Class file image Download
{ "name": "PASERK k3.local-wrap.pie Test Vectors", "tests": [ { "name": "k3.local-wrap.pie-1", "expect-fail": false, "unwrapped": "0000000000000000000000000000000000000000000000000000000000000000", "wrapping-key":"707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f", "paserk": "k3.local-wrap.pie.cLJLT84tUuU-ZLPqKWfhlDw4c2Fhk896z97sK2eM2-HYB3dk_NrHsSS340sJPsBsb7VeFpDBQMzzqRXr4Oylrpzmg-NZC9FVqgaWm1gtEikm-1yvlGRYwstUFLvUF30NrBE3GxYzI63DqJPqfmHSmQ" }, { "name": "k3.local-wrap.pie-2", "expect-fail": false, "unwrapped": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "wrapping-key": "707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f", "paserk": "k3.local-wrap.pie.bkbHfW4bBJQ8jcPfLOYxUrg4SkKRHbsywYZwRvxUGFt1je2idZxlFr8sbkB6jTZ6hnrVlI25G2hqZtfdQyFIUcrRAiBrCWNPP1b3afdD9_YxsAXoKEA3X4AZhReuvHCzuPqXNCtrvJtpupGZn-PLFQ" }, { "name": "k3.local-wrap.pie-fail-1", "expect-fail": true, "comment": "Invalid authentication tag on ciphertext", "unwrapped": null, "wrapping-key": "707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f", "paserk": "k3.local-wrap.pie.bkbHfW4bBJQ8jcPfLOYxUrg4SkKRHbsywYZwRvxUGFt1je2idZxlFr8sbkB6jTZ6hnrVlI25G2hqZtfdQyFIUcrRAiBrCWNPP1b3afdD9_YxsAXoKEA3X4AZhReuvHCzuPqXNCtrvJtpupHZo-RLFQ" }, { "name": "k3.local-wrap.pie-fail-2", "expect-fail": true, "comment": "Implementations MUST NOT accept a PASERK of the wrong version.", "unwrapped": null, "wrapping-key": "707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f", "paserk": "k4.local-wrap.pie.cy-Mu6zSfhu6q0_XdAM9p1zre_joUWjreSjHgisVNh-oHaNarN4_c7xuSyaHwqEDxF7lTbfNplBGU7wTeUyt__hZyj1J38NdNxVwuXamJY2QhRE-kWYA9_16xTsGwCQX" } ] }