PHP Classes

File: tests/test-vectors/k4.local-pw.json

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

Contents

Class file image Download
{ "name": "PASERK k4.local-pw Test Vectors", "tests": [ { "name": "k4.local-pw-1", "expect-fail": false, "unwrapped": "707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f", "password": "636f727265637420686f727365206261747465727920737461706c65", "options": {"memlimit": 67108864, "opslimit": 2}, "paserk": "k4.local-pw.9VvzoqE_i23NOqsP9xoijQAAAAAEAAAAAAAAAgAAAAG_uxDZC-NsYyOW8OUOqISJqgHN8xIfAXiPfmFTfB4GPidUzm4aKzMGJmZtRPeyZCV11MxEJS3VMIRHXxYsfUQsmWLALpFwqUhxZdk_ymFcK2Nk0-N7CVp-" }, { "name": "k4.local-pw-2", "expect-fail": false, "unwrapped": "707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f", "password": "636f727265637420686f727365206261747465727920737461706c65", "options": {"memlimit": 268435456, "opslimit": 3}, "paserk": "k4.local-pw.cyacmXuslYEP8Xyheh9i-AAAAAAQAAAAAAAAAwAAAAEJh5jS-CAQP9grqo6xhuNMwmjcs6yTAvBjOW2HwZyBrBd0NNs6btknqo-6e-tyXJebU5S5918-es1Y9jhF1dOjMW0gDrsWkPoWT3Vy_poNxjIQHxHOHXaa" }, { "name": "k4.local-pw-3", "expect-fail": false, "unwrapped": "707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f", "password": "correct horse battery staple", "options": {"memlimit": 268435456, "opslimit": 3}, "paserk": "k4.local-pw.1zXpYe7LSsL95YKf92kkJAAAAAAQAAAAAAAAAwAAAAG9WUsB_V2gVnTE1cCAs7RrS9-j22y2rcNixSycUw4_cryOPztPM8vASZw_BYHlQHxXqCl7wBS9NkUnMLa6b8e3ZNeaGiqaGFxRpmOK1Hal4GpHys6lC2Jw" }, { "name": "k4.local-pw-fail-1", "expect-fail": true, "comment": "Incorrect password", "unwrapped": null, "password": "636f727265637420686f727365206261747465727920737461706c66", "options": {"memlimit": 268435456, "opslimit": 3}, "paserk": "k4.local-pw.cyacmXuslYEP8Xyheh9i-AAAAAAQAAAAAAAAAwAAAAEJh5jS-CAQP9grqo6xhuNMwmjcs6yTAvBjOW2HwZyBrBd0NNs6btknqo-6e-tyXJebU5S5918-es1Y9jhF1dOjMW0gDrsWkPoWT3Vy_poNxjIQHxHOHXaa" }, { "name": "k4.local-pw-fail-2", "expect-fail": true, "comment": "Incorrect authentication tag on ciphertext", "unwrapped": null, "password": "636f727265637420686f727365206261747465727920737461706c65", "options": {"memlimit": 268435456, "opslimit": 3}, "paserk": "k4.local-pw.cyacmXuslYEP8Xyheh9i-AAAAAAQAAAAAAAAAwAAAAEJh5jS-CAQP9grqo6xhuNMwmjcs6yTAvBjOW2HwZyBrBd0NNs6btknqo-6e-tyXJebU5S5918-es1Y9jhF1dOjMW0gDrsWkPoWT3Vy_poNxjIQHyHOHXbb" }, { "name": "k4.local-pw-fail-3", "expect-fail": true, "comment": "Implementations MUST NOT accept a PASERK of the wrong version.", "unwrapped": null, "password": "636f727265637420686f727365206261747465727920737461706c65", "options": {"iterations": 10000}, "paserk": "k3.local-pw.BZtl8KfhFR8CCZp6hB0V2yMWttTMpK_U8HiKxnuvMI0AACcQIm4KcJGvG1kfptqCbQxzQUOp72AzgtmhCLVP1mn3orDRJIpoDzRj82dc1cMnANbUsEdcYVG8xzSuCt99zfCjQnQ2rIKbKRM66gafzcSWmD9iMoY3W6KUaN56t0P-ODV2" } ] }