PHP Classes

File: tests/test-vectors/k4.secret-wrap.pie.json

Recommend this page to a friend!
  Classes of Scott Arciszewski   PASERK PHP   tests/test-vectors/k4.secret-wrap.pie.json   Download  
File: tests/test-vectors/k4.secret-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: 2 years ago
Size: 2,086 bytes
 

Contents

Class file image Download
{ "name": "PASERK k4.secret-wrap.pie Test Vectors", "tests": [ { "name": "k4.secret-wrap.pie-1", "expect-fail": false, "unwrapped": "00000000000000000000000000000000000000000000000000000000000000003b6a27bcceb6a42d62a3a8d02a6f0d73653215771de243a63ac048a18b59da29", "wrapping-key":"707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f", "paserk": "k4.secret-wrap.pie.NC6xj8t0VuK-0KE7Fy6PAKtbQwEFRyQMe39A0ctrkaIcS1zjVgvYTN6cu1AZM7bU2bz-jzKclAWu3Bln6xhSOsUqcQPi6Kw_LtKXLRCeggiuPnaqWfIT4qacjXtXhFvOvDPye21fbWOPuoNM9VppuTzN0LzYDYgNYCPsbWt2n4c" }, { "name": "k4.secret-wrap.pie-2", "expect-fail": false, "unwrapped": "707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f1ce56a48c82ff99162a14bc544612674e5d61fb9317e65d4055780fdbcb4dc35", "wrapping-key": "ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff", "paserk": "k4.secret-wrap.pie.dYA31PP6a-d1Cyk3xt2Dz8kpGSlbpwkG5UyrLcgRspSvq1RUO1UQicQNE3-eXYUYGhXrG9zAVnR93tize-IPtiFEyO70U3bWEXd0uU7asDJQ19I3V2mf5OPIcKQl-TnY0XXtw5DPqY1yEFEbA9WTiDG0I3z6KTWA2z09NWm0OHQ" }, { "name": "k4.secret-wrap.pie-fail-1", "expect-fail": true, "comment": "Invalid authentication tag on ciphertext", "unwrapped": null, "wrapping-key": "707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f", "paserk": "k4.secret-wrap.pie.dYA31PP6a-d1Cyk3xt2Dz8kpGSlbpwkG5UyrLcgRspSvq1RUO1UQicQNE3-eXYUYGhXrG9zAVnR93tize-IPtiFEyO70U3bWEXd0uU7asDJQ19I3V2mf6OPIcKQl-TnY0XXtw5DPqY1yEFEbA9WTiDG0I4z6KTWA2z08NWx0OIR" }, { "name": "k4.secret-wrap.pie-fail-2", "expect-fail": true, "comment": "Implementations MUST NOT accept a PASERK of the wrong version.", "unwrapped": null, "wrapping-key": "707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f", "paserk": "k3.secret-wrap.pie._9Npd2vzpHCHdGYDQ5QFMc6Nirlv3ubsPPb-xJnh6cLImLhpirH_PDQWRIkmb95m-fc1XpqwY2QQbUkkvb2-_tznGQBt0Yg2-0Lux2MNxObkxDIfxfz5lD_tToF58BIuTh9_Pny0dy27HmJPnUBgy7JP2Je-h3doq6i0V2Q5hRA" } ] }