Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update test vectors #273

Merged
merged 4 commits into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ lib
report.xml
venv/
**/node_modules
*.DS_Store
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
{
"caseName": "MapMessageToScalar fixture",
"dst": "4242535f424c53313233383147315f584d443a5348412d3235365f535357555f524f5f4832475f4d41505f4d53475f544f5f5343414c41525f41535f484153485f",
"dst": "4242535f424c53313233383147315f584d443a5348412d3235365f535357555f524f5f4832475f484d32535f4d41505f4d53475f544f5f5343414c41525f41535f484153485f",
"cases": [
{
"message": "9872ad089e452c7b6e283dfac2a80d58e8d0ff71cc4d5e310a1debdda4a45f02",
"scalar": "58ca5e52b2000979cd4cc6d5d46ecf7965e5b238fc1cef6b1e414bdd0737485c"
"scalar": "1cb5bb86114b34dc438a911617655a1db595abafac92f47c5001799cf624b430"
},
{
"message": "87a8bd656d49ee07b8110e1d8fd4f1dcef6fb9bc368c492d9bc8c4f98a739ac6",
"scalar": "5ed56c1586740e65fa4e5606f677c0920319f1948c90f71b169479c81859c595"
"message": "c344136d9ab02da4dd5908bbba913ae6f58c2cc844b802a6f811f5fb075f9b80",
"scalar": "154249d503c093ac2df516d4bb88b510d54fd97e8d7121aede420a25d9521952"
},
{
"message": "96012096adda3f13dd4adbe4eea481a4c4b5717932b73b00e31807d3c5894b90",
"scalar": "515a909ebec48f2863e1fe26abd189adc8e4bce509835a4c4b276b8330704f90"
"message": "7372e9daa5ed31e6cd5c825eac1b855e84476a1d94932aa348e07b73",
"scalar": "0c7c4c85cdab32e6fdb0de267b16fa3212733d4e3a3f0d0f751657578b26fe22"
},
{
"message": "ac55fb33a75909edac8994829b250779298aa75d69324a365733f16c333fa943",
"scalar": "465eff553bd6cdb406010dd696841e45525dc43b95ef704948d7c0990be00cb1"
"message": "77fe97eb97a1ebe2e81e4e3597a3ee740a66e9ef2412472c",
"scalar": "4a196deafee5c23f630156ae13be3e46e53b7e39094d22877b8cba7f14640888"
},
{
"message": "d183ddc6e2665aa4e2f088af9297b78c0d22b4290273db637ed33ff5cf703151",
"scalar": "36728aafafeddb31fe21fc01a672db348720ec5e589c90470a96ab74a656e236"
"message": "496694774c5604ab1b2544eababcf0f53278ff50",
"scalar": "34c5ea4f2ba49117015a02c711bb173c11b06b3f1571b88a2952b93d0ed4cf7e"
},
{
"message": "515ae153e22aae04ad16f759e07237b43022cb1ced4c176e0999c6a8ba5817cc",
"scalar": "0953c69c56c6da15050df9458704810717f65eb828b1303a4771fec064d61820"
"message": "515ae153e22aae04ad16f759e07237b4",
"scalar": "4045b39b83055cd57a4d0203e1660800fabe434004dbdc8730c21ce3f0048b08"
},
{
"message": "496694774c5604ab1b2544eababcf0f53278ff5040c1e77c811656e8220417a2",
"scalar": "1057179411a0294978c6a428255a47cbefbab3760c5342781bbf75e3e00429ca"
"message": "d183ddc6e2665aa4e2f088af",
"scalar": "064621da4377b6b1d05ecc37cf3b9dfc94b9498d7013dc5c4a82bf3bb1750743"
},
{
"message": "77fe97eb97a1ebe2e81e4e3597a3ee740a66e9ef2412472c23364568523f8b91",
"scalar": "2635b9d82fc053f4357417774ff67e3fac1586496930ff09dfcb2415b06509d4"
"message": "ac55fb33a75909ed",
"scalar": "34ac9196ace0a37e147e32319ea9b3d8cc7d21870d3c3ba071246859cca49b02"
},
{
"message": "7372e9daa5ed31e6cd5c825eac1b855e84476a1d94932aa348e07b7320912416",
"scalar": "19deafcd9d7721921e7c5f36076a8b270c376b2495815bf9d63567dc0ff07f10"
"message": "96012096",
"scalar": "57eb93f417c43200e9784fa5ea5a59168d3dbc38df707a13bb597c871b2a5f74"
},
{
"message": "c344136d9ab02da4dd5908bbba913ae6f58c2cc844b802a6f811f5fb075f9b80",
"scalar": "4890be26d780070417e98b8d1b5049d47bdd2ccaded594657e9a20ca2cf49413"
"message": "",
"scalar": "08e3afeb2b4f2b5f907924ef42856616e6f2d5f1fb373736db1cca32707a7d16"
}
]
}
24 changes: 12 additions & 12 deletions tooling/fixtures/fixture_data/bls12-381-sha-256/generators.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"BP": "864df3ae75a023852b577c6aa46d1608d7bfb73c59c73dfd47250ea01c04ec1ad20560e8e4aca82296ca7c4e1b7c3620",
"Q1": "adebcba609d19ccfae0eb0cacb228985e5d90b9cbdc573b56dbccc8eafae4737e1da27a65d4617990aa1f8711db3aec5",
"BP": "a8ce256102840821a3e94ea9025e4662b205762f9776b3a766c872b948f1fd225e7c59698588e70d11406d161b4e28c9",
"Q1": "a9ec65b70a7fbe40c874c9eb041c2cb0a7af36ccec1bea48fa2ba4c2eb67ef7f9ecb17ed27d38d27cdeddff44c8137be",
"MsgGenerators": [
"ab7739f477d4b56b02b71778f6ec68ef7785d026b8e8860ebbe7a69b8c4fecfb15810fec850534bbed1ce41012cc6fc0",
"82873b1e94b5135d07c65c5c0d21e1bd9ec9623466abec5cbb26d87b97587baf8f797fcb75d623f4682666675716d62e",
"994deaa66a1787de573a0d6428476595bff82db978773a3007f504a3293938c7e73a15a2d07ab2a9d1bbb62dfc5b5299",
"a5ea5151c9b3d8e43d462efb8576cf77784939ece143f36336b7c8495c73d586ac7463c1203e080f873417658d8e0c6b",
"8ae3513aea2f9a3a20e9c974fa89cf72e0426981427737557ef4fe434a169f3cb59c5b455a5c69c69c6d306e224d023c",
"8094e30bef7874a410954ebea2a7a1cdf32ed20e2da28ae1d491741a7bbb9079a1416f7150467cb2e46aa2156a08d4bb",
"94f491284423ce2320511b65e433b1ca760330370d550833b5ad560acf13361eb3660062e55dd3a0b13ed28be87d9d6f",
"a72e0b18aae0ceeef213d1224747390a9842c0aba88ae622058606447ec532b7eaa7a29222d9101a095b21764d5f32c1",
"a0bbb2423b802a8374fcda3fb5fa31fd5e714b83925d9862fd7bfe8b77d24d5f3019d98c1787d4315ab94f1d2d69784e",
"8dfae18463d2a1781112f83f54187ec345bd83949d7a43956da2f1afdd50b2bcb4dbb5722c271863570549b1287a7a87"
"98cd5313283aaf5db1b3ba8611fe6070d19e605de4078c38df36019fbaad0bd28dd090fd24ed27f7f4d22d5ff5dea7d4",
"a31fbe20c5c135bcaa8d9fc4e4ac665cc6db0226f35e737507e803044093f37697a9d452490a970eea6f9ad6c3dcaa3a",
"b479263445f4d2108965a9086f9d1fdc8cde77d14a91c856769521ad3344754cc5ce90d9bc4c696dffbc9ef1d6ad1b62",
"ac0401766d2128d4791d922557c7b4d1ae9a9b508ce266575244a8d6f32110d7b0b7557b77604869633bb49afbe20035",
"b95d2898370ebc542857746a316ce32fa5151c31f9b57915e308ee9d1de7db69127d919e984ea0747f5223821b596335",
"8f19359ae6ee508157492c06765b7df09e2e5ad591115742f2de9c08572bb2845cbf03fd7e23b7f031ed9c7564e52f39",
"abc914abe2926324b2c848e8a411a2b6df18cbe7758db8644145fefb0bf0a2d558a8c9946bd35e00c69d167aadf304c1",
"80755b3eb0dd4249cbefd20f177cee88e0761c066b71794825c9997b551f24051c352567ba6c01e57ac75dff763eaa17",
"82701eb98070728e1769525e73abff1783cedc364adb20c05c897a62f2ab2927f86f118dcb7819a7b218d8f3fee4bd7f",
"a1f229540474f4d6f1134761b92b788128c7ac8dc9b0c52d59493132679673032ac7db3fb3d79b46b13c1c41ee495bca"
]
}
4 changes: 2 additions & 2 deletions tooling/fixtures/fixture_data/bls12-381-sha-256/h2s.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"caseName": "Hash to scalar output",
"message": "9872ad089e452c7b6e283dfac2a80d58e8d0ff71cc4d5e310a1debdda4a45f02",
"dst": "4242535f424c53313233383147315f584d443a5348412d3235365f535357555f524f5f4832475f4832535f",
"scalar": "3aebf1a9250fe84f1f62afd093123896bc3fd513232886a4213f6d05594ac3c2"
"dst": "4242535f424c53313233383147315f584d443a5348412d3235365f535357555f524f5f4832475f484d32535f4832535f",
"scalar": "0f90cbee27beb214e6545becb8404640d3612da5d6758dffeccd77ed7169807c"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"keyMaterial": "746869732d49532d6a7573742d616e2d546573742d494b4d2d746f2d67656e65726174652d246528724074232d6b6579",
"keyInfo": "746869732d49532d736f6d652d6b65792d6d657461646174612d746f2d62652d757365642d696e2d746573742d6b65792d67656e",
"keyPair": {
"secretKey": "57887f6e42cbf2a76fae89370474abe3d0f2e9db5d66c3f60b13e4fc724cde4e",
"publicKey": "a9df410a06798fafcc2a1cc004441c3cb831ffdc408500eb3c24f876714317798ec4ec7cfee653a4c3c44f6158ebebf70a0484cd7d8984a3325c154b7f39f8b1b97ab087e5218ab343011456953219b91cca6c5eb37613b2963e588691a42ec1"
"secretKey": "60e55110f76883a13d030b2f6bd11883422d5abde717569fc0731f51237169fc",
"publicKey": "a820f230f6ae38503b86c70dc50b61c58a77e45c39ab25c0652bbaa8fa136f2851bd4781c9dcde39fc9d1d52c9e60268061e7d7632171d91aa8d460acee0e96f1e7c4cfb12d3ff9ab5d5dc91c277db75c845d649ef3c4f63aebc364cd55ded0c"
}
}
22 changes: 11 additions & 11 deletions tooling/fixtures/fixture_data/bls12-381-sha-256/mockedRng.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"caseName": "mocked random scalars",
"seed": "332e313431353932363533353839373933323338343632363433333833323739",
"dst": "4242535f424c53313233383147315f584d443a5348412d3235365f535357555f524f5f4832475f4d4f434b5f52414e444f4d5f5343414c4152535f4453545f",
"dst": "4242535f424c53313233383147315f584d443a5348412d3235365f535357555f524f5f4832475f484d32535f4d4f434b5f52414e444f4d5f5343414c4152535f4453545f",
"count": 10,
"mockedScalars": [
"685e3caf71dcebe9c1c8ade572714cacfa8021ecdc0087f088ddf9d779ee6497",
"3f03740ac2195b6e690f947a4868d18a0ffc740f0cd662af065de7c82ce47bca",
"7243343f651b84dd385374df66239721cd72be386ace284582e50f3a7f7a41fd",
"719391a40fb0d859142f3a407724d8d9f0bec2a29e2a13dd72373a08be8b8ebe",
"12c52b9360297ba351a6af102f85811100f34f85f2cb1ae84d51c864673180fb",
"03670bd1cbf4aa22ab64594f509edcc8b10078b94681de34d46f4add973c095b",
"5c6f556cd9dadb28115b3d800f3252d88a5cd5f77fe9c48c2737a3731f87b389",
"6f2a91c5faa4d1833fc20d61a9408000e34b9cb4117bf01c84e9dc87e1edb5af",
"3e2f4c7553113858fef77769bc3db8a4fe75e0d04f29487e3eab89cc994e461b",
"27a48d2128295df61613e065e8640b20a457a1687979363f8746366ff7c3c082"
"04f8e2518993c4383957ad14eb13a023c4ad0c67d01ec86eeb902e732ed6df3f",
"5d87c1ba64c320ad601d227a1b74188a41a100325cecf00223729863966392b1",
"0444607600ac70482e9c983b4b063214080b9e808300aa4cc02a91b3a92858fe",
"548cd11eae4318e88cda10b4cd31ae29d41c3a0b057196ee9cf3a69d471e4e94",
"2264b06a08638b69b4627756a62f08e0dc4d8240c1b974c9c7db779a769892f4",
"4d99352986a9f8978b93485d21525244b21b396cf61f1d71f7c48e3fbc970a42",
"5ed8be91662386243a6771fbdd2c627de31a44220e8d6f745bad5d99821a4880",
"62ff1734b939ddd87beeb37a7bbcafa0a274cbc1b07384198f0e88398272208d",
"05c2a0af016df58e844db8944082dcaf434de1b1e2e7136ec8a99b939b716223",
"485e2adab17b76f5334c95bf36c03ccf91cef77dcfcdc6b8a69e2090b3156663"
]
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"caseName": "valid single message signature, single-message revealed proof",
"signerPublicKey": "a9df410a06798fafcc2a1cc004441c3cb831ffdc408500eb3c24f876714317798ec4ec7cfee653a4c3c44f6158ebebf70a0484cd7d8984a3325c154b7f39f8b1b97ab087e5218ab343011456953219b91cca6c5eb37613b2963e588691a42ec1",
"signerPublicKey": "a820f230f6ae38503b86c70dc50b61c58a77e45c39ab25c0652bbaa8fa136f2851bd4781c9dcde39fc9d1d52c9e60268061e7d7632171d91aa8d460acee0e96f1e7c4cfb12d3ff9ab5d5dc91c277db75c845d649ef3c4f63aebc364cd55ded0c",
"header": "11223344556677889900aabbccddeeff",
"presentationHeader": "bed231d880675ed101ead304512e043ade9958dd0241ea70b4b3957fba941501",
"revealedMessages": {
"0": "9872ad089e452c7b6e283dfac2a80d58e8d0ff71cc4d5e310a1debdda4a45f02"
},
"proof": "b23d31cc8dfc6e8f87080a1be2b9a33bb146cbed77fb66c3005fb3ae8d9101307ce8e16b75701898511e8c086b7780e789c1f02fd5cad02ced38e745cc33cf866bae8512fd65c41289218caca729506517f075246c96c91a1f2488c56facf3c506a1c54d1d25c254964a13dc15657f7c7c17fdf0378ca8466fbb9eaa7e095f27185b74c0443336402e100f01236c495cf287771b9c937bab0debeebb1c2d44f82e98657d7800b96e0ce340bbbcfe5bf608a304eac4ff44ce6284dcffff9c3ae0",
"proof": "8e9bc91d68151e4b105ec0d46ca95fe1526672bed27b26541a648ec990b3b11b8905e671fb981f1b9cd1ed64167a7ba18b7697d9bd6f3cac02f75551f2db95bf2707e3790c10d815346a96198327cc7048f220bdc7d6fc5ec41c6d9f89d607ff6e5d45c7116e54ebbb28aaf71154ee7126ec5592ae6cc373e3477d45a0a409585277a3f99826146887ac6f7cb39acd837e987e2db04d07383062edd741c83eb439c52e4ae9fce2b1a882f2df186eec8c9451a2e2fc5cf494146918c587a12e75",
"result": {
"valid": true
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"caseName": "valid multi-message signature, all messages revealed proof",
"signerPublicKey": "a9df410a06798fafcc2a1cc004441c3cb831ffdc408500eb3c24f876714317798ec4ec7cfee653a4c3c44f6158ebebf70a0484cd7d8984a3325c154b7f39f8b1b97ab087e5218ab343011456953219b91cca6c5eb37613b2963e588691a42ec1",
"signerPublicKey": "a820f230f6ae38503b86c70dc50b61c58a77e45c39ab25c0652bbaa8fa136f2851bd4781c9dcde39fc9d1d52c9e60268061e7d7632171d91aa8d460acee0e96f1e7c4cfb12d3ff9ab5d5dc91c277db75c845d649ef3c4f63aebc364cd55ded0c",
"header": "11223344556677889900aabbccddeeff",
"presentationHeader": "bed231d880675ed101ead304512e043ade9958dd0241ea70b4b3957fba941501",
"revealedMessages": {
"0": "9872ad089e452c7b6e283dfac2a80d58e8d0ff71cc4d5e310a1debdda4a45f02",
"1": "87a8bd656d49ee07b8110e1d8fd4f1dcef6fb9bc368c492d9bc8c4f98a739ac6",
"2": "96012096adda3f13dd4adbe4eea481a4c4b5717932b73b00e31807d3c5894b90",
"3": "ac55fb33a75909edac8994829b250779298aa75d69324a365733f16c333fa943",
"4": "d183ddc6e2665aa4e2f088af9297b78c0d22b4290273db637ed33ff5cf703151",
"5": "515ae153e22aae04ad16f759e07237b43022cb1ced4c176e0999c6a8ba5817cc",
"6": "496694774c5604ab1b2544eababcf0f53278ff5040c1e77c811656e8220417a2",
"7": "77fe97eb97a1ebe2e81e4e3597a3ee740a66e9ef2412472c23364568523f8b91",
"8": "7372e9daa5ed31e6cd5c825eac1b855e84476a1d94932aa348e07b7320912416",
"9": "c344136d9ab02da4dd5908bbba913ae6f58c2cc844b802a6f811f5fb075f9b80"
"1": "c344136d9ab02da4dd5908bbba913ae6f58c2cc844b802a6f811f5fb075f9b80",
"2": "7372e9daa5ed31e6cd5c825eac1b855e84476a1d94932aa348e07b73",
"3": "77fe97eb97a1ebe2e81e4e3597a3ee740a66e9ef2412472c",
"4": "496694774c5604ab1b2544eababcf0f53278ff50",
"5": "515ae153e22aae04ad16f759e07237b4",
"6": "d183ddc6e2665aa4e2f088af",
"7": "ac55fb33a75909ed",
"8": "96012096",
"9": ""
},
"proof": "8ffb2aeaa386e0240483b8b84d9af7084e62b09b8d0bbf76ba6bff1d308d82543a3f6b9eeb2493d2b7c36800ba055f7383a56ac1afc9de757ed23380a878f4da8c0c3fc3b0678efc97377d60299a4539fe9aa44ed6e1520956e7140c7f183f350990553621cea4d0531e33aa7a13d33d869a787d952a7a715a30e83bac952b13458e18413dc5361e81b5adacdbd2bb08eebf54d3e0103e5c1bd265506701aa53491fdc2bdba6f2e73c3a4a591330eafaea86e08baaf49d1cded3f70d8b1f3296",
"proof": "89910f223320044fe6342b8dabfeac786f35cc98bb64c95ecb39348281d5a8c84e975581b5f37ec45c8bc4cda486d5e2a20e007d0dd0fba77f846dfe3458fc01ff94a49c058550684638e1b88b61e8d69a1453652477af005d42cdb2d57e86b071951a701909a2fcadf08304f7d17495e03c07ea5854cd18c969063eced31c42345ccb154cefbf42eca0f0dcfd3d2370d56c247955f0b0ea6fd97bfd29cbe9755e902bf83ecf5949a9a4b4351814e5b2a7ebe74da74ec7c61ac4975a085cefb6",
"result": {
"valid": true
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"caseName": "valid multi-message signature, multiple messages revealed proof",
"signerPublicKey": "a9df410a06798fafcc2a1cc004441c3cb831ffdc408500eb3c24f876714317798ec4ec7cfee653a4c3c44f6158ebebf70a0484cd7d8984a3325c154b7f39f8b1b97ab087e5218ab343011456953219b91cca6c5eb37613b2963e588691a42ec1",
"signerPublicKey": "a820f230f6ae38503b86c70dc50b61c58a77e45c39ab25c0652bbaa8fa136f2851bd4781c9dcde39fc9d1d52c9e60268061e7d7632171d91aa8d460acee0e96f1e7c4cfb12d3ff9ab5d5dc91c277db75c845d649ef3c4f63aebc364cd55ded0c",
"header": "11223344556677889900aabbccddeeff",
"presentationHeader": "bed231d880675ed101ead304512e043ade9958dd0241ea70b4b3957fba941501",
"revealedMessages": {
"0": "9872ad089e452c7b6e283dfac2a80d58e8d0ff71cc4d5e310a1debdda4a45f02",
"2": "96012096adda3f13dd4adbe4eea481a4c4b5717932b73b00e31807d3c5894b90",
"4": "d183ddc6e2665aa4e2f088af9297b78c0d22b4290273db637ed33ff5cf703151",
"6": "496694774c5604ab1b2544eababcf0f53278ff5040c1e77c811656e8220417a2"
"2": "7372e9daa5ed31e6cd5c825eac1b855e84476a1d94932aa348e07b73",
"4": "496694774c5604ab1b2544eababcf0f53278ff50",
"6": "d183ddc6e2665aa4e2f088af"
},
"proof": "b3496fd4c875c8defb859b800edb708ae74c8b1b0d65af256818803048f2919ae5b7687e7a94babfc44ccd52f8ce142b8edcac7264355a860eb383101911934fbb8c098a43512d902e0e37db88f8ef25bf1b24b4babc9d00aa3a3421fb29b60f1f02e0eb5a5922a33db0f54727537120e5701947a4c70d579934bbb2b9b19dc7027da7de09f7524500bc41eddd666d96fcdce8a25071fda9a58c89f22132e5dc5c55922eedb6b284b65ae0531cf317e9f28f25a7824242dcc071d0e0dab9452b68efc97e32f85a1f0d7f5b5a027841ad3cab3207b336b014e1284c71b9fb269a3a483c74c92f98921652884a37f166986f6b9fcd9e62cf275d9d0dbc73e2efef5714779d970478656eebe8d1c5a7e53397641361376ee63a44102cc460b20dc64abb90dc6060c1b6b4f326151353fe28e308d3106da0445f16919478dc33f3f634969e7a5caea2d764f7c4de4243421eb202ca304234ce96aa2609cae2125085609e35218178be98b5fee0f2b6a21d22bd0e26ca1ce25c93941dd19f3dd385f6",
"proof": "812a204f66c9084feed7383894d910f2c17399b3c4b4bed05660921de8539f5042318c356609496a6ca0a26626661be78ca723b7182ccd314924b93a3997654fcd77e29e3847dc881f422a751017705173ec094d2997221e134710d4fff1bd335141e3727ea61ede2644833a1153c11e79737b75afd2b94729d00be2e5faa5ab47e0deff12c70e1be2bab6c1a663fc28f8aa37ae7c1f8494b72dd8ad430da4561c64e9e11c2f4283e8e25282d4a5c9d72d2d856a0b3141668c9304467f403d9a06448d69c21da1822d9a857e66fcbf6bb2884e0aaa4e2e78295d63c1304968230ac5f09570f76affa7eaed15709a8fa361aeccda9cfb50c8fed9844f1fab9645033f7d923b46d193107cb8b7064e4f21c536a6528635d5b78dc721b1ca7f296918fd8430f8d647aecb7d1ed7d123dc8514027bdcb093340797e4d72cc35f9c111c06100844d2498bdc1106847e373143267a325d10ebca86fb71fbc066fa41dd32b2f1e0cf27a7c1bd17c09963d32ff3e05bcf547e91828e52738624618791ab",
"result": {
"valid": true
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"caseName": "invalid multi-message signature, all messages revealed proof (different presentation header)",
"signerPublicKey": "a9df410a06798fafcc2a1cc004441c3cb831ffdc408500eb3c24f876714317798ec4ec7cfee653a4c3c44f6158ebebf70a0484cd7d8984a3325c154b7f39f8b1b97ab087e5218ab343011456953219b91cca6c5eb37613b2963e588691a42ec1",
"signerPublicKey": "a820f230f6ae38503b86c70dc50b61c58a77e45c39ab25c0652bbaa8fa136f2851bd4781c9dcde39fc9d1d52c9e60268061e7d7632171d91aa8d460acee0e96f1e7c4cfb12d3ff9ab5d5dc91c277db75c845d649ef3c4f63aebc364cd55ded0c",
"header": "11223344556677889900aabbccddeeff",
"presentationHeader": "011594ba7f95b3b470ea4102dd5899de3a042e5104d3ea01d15e6780d831d2be",
"revealedMessages": {
"0": "9872ad089e452c7b6e283dfac2a80d58e8d0ff71cc4d5e310a1debdda4a45f02",
"2": "96012096adda3f13dd4adbe4eea481a4c4b5717932b73b00e31807d3c5894b90",
"4": "d183ddc6e2665aa4e2f088af9297b78c0d22b4290273db637ed33ff5cf703151",
"6": "496694774c5604ab1b2544eababcf0f53278ff5040c1e77c811656e8220417a2"
"2": "7372e9daa5ed31e6cd5c825eac1b855e84476a1d94932aa348e07b73",
"4": "496694774c5604ab1b2544eababcf0f53278ff50",
"6": "d183ddc6e2665aa4e2f088af"
},
"proof": "b3496fd4c875c8defb859b800edb708ae74c8b1b0d65af256818803048f2919ae5b7687e7a94babfc44ccd52f8ce142b8edcac7264355a860eb383101911934fbb8c098a43512d902e0e37db88f8ef25bf1b24b4babc9d00aa3a3421fb29b60f1f02e0eb5a5922a33db0f54727537120e5701947a4c70d579934bbb2b9b19dc7027da7de09f7524500bc41eddd666d96fcdce8a25071fda9a58c89f22132e5dc5c55922eedb6b284b65ae0531cf317e9f28f25a7824242dcc071d0e0dab9452b68efc97e32f85a1f0d7f5b5a027841ad3cab3207b336b014e1284c71b9fb269a3a483c74c92f98921652884a37f166986f6b9fcd9e62cf275d9d0dbc73e2efef5714779d970478656eebe8d1c5a7e53397641361376ee63a44102cc460b20dc64abb90dc6060c1b6b4f326151353fe28e308d3106da0445f16919478dc33f3f634969e7a5caea2d764f7c4de4243421eb202ca304234ce96aa2609cae2125085609e35218178be98b5fee0f2b6a21d22bd0e26ca1ce25c93941dd19f3dd385f6",
"proof": "812a204f66c9084feed7383894d910f2c17399b3c4b4bed05660921de8539f5042318c356609496a6ca0a26626661be78ca723b7182ccd314924b93a3997654fcd77e29e3847dc881f422a751017705173ec094d2997221e134710d4fff1bd335141e3727ea61ede2644833a1153c11e79737b75afd2b94729d00be2e5faa5ab47e0deff12c70e1be2bab6c1a663fc28f8aa37ae7c1f8494b72dd8ad430da4561c64e9e11c2f4283e8e25282d4a5c9d72d2d856a0b3141668c9304467f403d9a06448d69c21da1822d9a857e66fcbf6bb2884e0aaa4e2e78295d63c1304968230ac5f09570f76affa7eaed15709a8fa361aeccda9cfb50c8fed9844f1fab9645033f7d923b46d193107cb8b7064e4f21c536a6528635d5b78dc721b1ca7f296918fd8430f8d647aecb7d1ed7d123dc8514027bdcb093340797e4d72cc35f9c111c06100844d2498bdc1106847e373143267a325d10ebca86fb71fbc066fa41dd32b2f1e0cf27a7c1bd17c09963d32ff3e05bcf547e91828e52738624618791ab",
"result": {
"valid": false,
"reason": "different presentation header"
Expand Down
Loading