Skip to content

Commit

Permalink
Update Pedersen blinding default method
Browse files Browse the repository at this point in the history
  • Loading branch information
davxy committed Jul 29, 2024
1 parent 4bf321b commit 8cef209
Show file tree
Hide file tree
Showing 7 changed files with 229 additions and 231 deletions.
70 changes: 35 additions & 35 deletions data/bandersnatch_ed_sha512_ell2_pedersen_vectors.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
"h": "b923c55b4b7d8c28156c87e005c6d8385a6f26019eee3149aaeb7ee7ce284b38",
"gamma": "208d1eacbedbfb00708a7068c708a565c0bd41c8155010c52e55c6837fecfa52",
"beta": "96b48404e1df9c738557ccbdfb5bc6f7b8fa3d281aa51742a5928e7a5d77cf5b4fc6ed61fc0f7e073dfc3ee8e06b1e5de55e93ecff8ad926cc99a08e8aa6a779",
"blinding": "7ce97a8ad77c9975dae7f961294cc3627b2e4d76c5bce12b569e921b4e6a0309",
"proof_pk_com": "6db8663c87c4abf4a72060bfdc7fa566bb3d3f5402d07422bd4b8e56e7598495",
"proof_r": "3d638578fd8a92946a83da63f13ab696d908b5b41dbdfd70379ae46b8e0ddba3",
"blinding": "a3f1a139943f3dc02c624505a5794dcc1a75651f60ca69081ebf9bdbd7458616",
"proof_pk_com": "2882f90320afdcf99680b8662efe846e2fd477cce00a47ac154f996c910b920a",
"proof_r": "71d85bb1a0edcf4362ec8137cdef1a856096e4f9995cc3a4db1781d3e9c7b817",
"proof_ok": "647c218cec9610102b202bcf7d29bdbf91770c326f07586051fa40bee863b63e",
"proof_s": "7f27df1375f1217c4a34fa57b61de6b1cf7b023e17298ed53071b8dd95c32818",
"proof_sb": "1716ad8149314c978dc5f1ca626246166c50258225554eda646cc6d4b96e5e18"
"proof_s": "cda38b375717fa7790c18c70dcfcd6ce8f19b13819f088b74688f21dd127c412",
"proof_sb": "9b52eff1cc2ab908070a1ba89059ae3f6823b43702c60272c5d5943cceb6ac0e"
},
{
"comment": "Bandersnatch_SHA-512_ELL2 - vector-2",
Expand All @@ -24,12 +24,12 @@
"h": "d905aaf894a97094b1d707ea7685fbc4ac501fc01cef25586a9c36288c5c6302",
"gamma": "25c5ab15ce5d973bfec7b6dd428b5b5971958a056d10cc18d5e9ccd0ee4c7b86",
"beta": "2ae6660f435f733482e4fb6a2c743288fc1d8a6b173b01f490929cd128514c518112bed1659bb8eab1535e279f9b7349fa316ba6f7bd8baa4ae410141bb565d2",
"blinding": "fd72b2c883f5b4bba8973a532d1dce1a69aabd08b9ab310e8073eee26fbf4410",
"proof_pk_com": "8a8a6ff54ece07a0b3e6370dc7c3dc4f01d35ddb8eeacd4c4ada90e5f18af848",
"proof_r": "8df706daf2a7482669fe1afcf32aaee4cf988423f8c384f6041b16e15716ec20",
"blinding": "85a94726bcaeaf2db516a6a532ec2450488e7d093374f54de0ba05d2a36bb00a",
"proof_pk_com": "b28263558234202119a143c295a3fc5a35a6f830dd0c7018e3f33862d1986c1c",
"proof_r": "4cb8186c3da92e9be0179f894cdc364aabe1a890340aee9fd886bed45f5017e7",
"proof_ok": "83a9519edb8ecc4f360eee599c6c1310019c4c3451ca42b4887328e347003bdf",
"proof_s": "13362d25281e988c02e24a1e639bdc2839bdcca7eb9eec1a4305c44f27dea104",
"proof_sb": "fe20fa2d4ebfd45f414b3bea7eef827cc394d8ed04149ffb8232499f5b51b411"
"proof_s": "3e1b408e4ceb5a81e5b71527b01f541d5069438aaa279aa48c39bb7e34f24001",
"proof_sb": "1dc7b84f188a7fb5bf051464be19e54495f42bd723130992319bad7560023714"
},
{
"comment": "Bandersnatch_SHA-512_ELL2 - vector-3",
Expand All @@ -40,12 +40,12 @@
"h": "587f7c01731c52ce4e02405a9642bf39da4b62befa0a0811f00dd1710a975cc4",
"gamma": "002030eb901d08fe85873b46cd5a1bd2a2c9fbce4f15e9e39066c1fe91be1c1f",
"beta": "5ca9dc5e02e908b5f1de31c85d30a064353420ab930a541db5f518eee07fb059323df22d2ce82d36a5bac52aa322f08072cc0b9c555a5e4179e3c11a067de7a2",
"blinding": "751455f3d10f5159060ae2d74422106c8ce3f8ae631e81bb1f13a3994c92b906",
"proof_pk_com": "0e935dde3019269c7b68768806da3bb5bdbff8fc521df6eef76a2ad67c2a6643",
"proof_r": "7e22ec0ecf04165c52e69c65af4a84d2593fbc28582da055e1668026768e69a8",
"blinding": "cb3a17d3578d86e2f3b23bb47160327c391c808da28c6be53ed3189d22d78205",
"proof_pk_com": "f99d09a38f1a1ead7d9503fd601e2d8a56c09eaeb5fb3130035803e04033b49a",
"proof_r": "de58f590cd204247192f5b49d86c81ddc691fd6b55561fb33ccbec24ecbc86db",
"proof_ok": "d502f832afaddb7bb54e8c28cce458a2a9c3c6c230e4b85539913ec531de168b",
"proof_s": "f3713c659eb353f95d47b60e8bceef5c07e870da05ad3ae8410e9c4438105908",
"proof_sb": "c07ba2fc0e17f99cdee9f5c9ad42c721e4a67c8eba99540c1a1bf3ed13cc010a"
"proof_s": "1dd33771a9bfdcf94e6e95fa43e4667adf3279d9c2b22e0877abeb5e99a9e01b",
"proof_sb": "7863bbac83653e1a48bc0e814e4792c6b2d884522f5556bbb1844c151dcdb700"
},
{
"comment": "Bandersnatch_SHA-512_ELL2 - vector-4",
Expand All @@ -56,12 +56,12 @@
"h": "c1cde8432c5bf619b14a403d611140c117a52ba31004574238bd58bf8fc6181f",
"gamma": "5d5a673794b7a0003a1c36f299c4d61055e4b680bb3c2ccd8858dce89c6cd5d3",
"beta": "0db282523110f629d8c9424afa66f4dfcb9e6dcea5f7891ab2ffc09eeb72a0ac11ac36841ec72644a5d24c1fa879872d3091c5e5b81940761f9f8f378f5013ae",
"blinding": "36252630c1f32ee7951536ebc705bda5578486a94b5c98cf264b1b779806b40d",
"proof_pk_com": "15957fbc15aef7322af76e499cb879dd05860bb97842d163c20db94fc25e8637",
"proof_r": "e266c233784fc4c2b3dfe348e9e4a5e758c1f6e5b053685f42f2a57706ac9d90",
"blinding": "141a8a762dff63c7c05b26d022a8027c515e57f067b5546532296f0ca40a1909",
"proof_pk_com": "e926e6b3cbca7b66c42cfc603c4ef2dabc3f5e1276b20d2807f007e974675cb1",
"proof_r": "29c56732de262411e71908326037f0f961776db2082bf3d88537265af6a57c92",
"proof_ok": "c59024c715d21f2a08fb0cd8cb24046558222c6753180853f9601d92186c5e3b",
"proof_s": "92baeb32b97ca7f056c1412c5f1b596f2328bc092d18b295a6e4553cbd547d0f",
"proof_sb": "0573a4a51cbf33b0cf23b1c82fbfc44735420f4f9d0b75f4f0f0258fdd3b3c05"
"proof_s": "b818a32590aeb6d79d24cdc6cacb6d5cdc58ccb7025b82be1c1ba2cd34c2f005",
"proof_sb": "e854b63f9c4e0aab3a051885498d42b5ec354e619491ee9ff239bd3fb486b509"
},
{
"comment": "Bandersnatch_SHA-512_ELL2 - vector-5",
Expand All @@ -72,12 +72,12 @@
"h": "8af6936567d457e80f6715f403e20597c2ca58219974c3996a4e4414c3361635",
"gamma": "022abfa7670d5051a6a0e212467666abb955faafe7fe63446f50eb710383444c",
"beta": "126296afb914aa1225dfdddfe3bfd185b488801810e18034330b1c07409ccdc4f8deccfc30be219cb5186f80a523ae41720031ae39a78f18d3b14df8bb6d8e8a",
"blinding": "9c7ca3afb177b0fb13201336a0fd247260cd5a17764719c0167472b46248e309",
"proof_pk_com": "01322ca5d3c2fe5d5e3be35e75a7fe2b4c4aded43fe2a587c4b8c10ba28bea2a",
"proof_r": "18bd390f58af3ed31c2824e328d89f7ccb543f77a3e6c0fdedf3cc851da8a9e4",
"blinding": "4749f32b7aa36158a4fdfb5bc7e63c40b62eb1d7c75036676e093571a3e9cb06",
"proof_pk_com": "e159e5494957bb478c4a4d142cde10dadd73a038f8b198c4321dff1271ab61b4",
"proof_r": "16a8409cc245978bf55279447d854adca637a58c8c7894a0972b190ad7314492",
"proof_ok": "3639790d6414b474aa1d53de4e7a896b4e6458c078867acd22200f00f20f280a",
"proof_s": "e0fd2d5a4adfe396072c22d22aa249da71b7a9576bcc5819b38d182e001d201c",
"proof_sb": "8a776d2c4999ae38d872b9e487dd2ce6ade338fcaa45e881fa33b2a686ec660f"
"proof_s": "bbfd0996c8937c9aaabad9a254614b75c529f892fdfcfcfbe73486888545b610",
"proof_sb": "6bce65ffb002c6349213b720115ee1457214796c983618f32b4b79c8c559851b"
},
{
"comment": "Bandersnatch_SHA-512_ELL2 - vector-6",
Expand All @@ -88,12 +88,12 @@
"h": "8af6936567d457e80f6715f403e20597c2ca58219974c3996a4e4414c3361635",
"gamma": "022abfa7670d5051a6a0e212467666abb955faafe7fe63446f50eb710383444c",
"beta": "126296afb914aa1225dfdddfe3bfd185b488801810e18034330b1c07409ccdc4f8deccfc30be219cb5186f80a523ae41720031ae39a78f18d3b14df8bb6d8e8a",
"blinding": "45d9aea3b3bf467c037802e80ae7cb4a13b394b20fcde630c2af6605f58ea918",
"proof_pk_com": "9d16b8d865bec4eb09438eb0589de8d9bc3cd541fbcaa12861633fc548f677c9",
"proof_r": "5198746f79383326eb7edb7dcd579772451f42f2c73b35c20d162334dd7abebd",
"blinding": "1f64d22282d00a58d17d4fe4dc6e8b9772109b6091e1684649c6084fc842391b",
"proof_pk_com": "89e230c832f5c2ee1072d9d110151a2dafa4577d64b7fb0845855ae3d1c12fec",
"proof_r": "e3bd5e3a3f07efb256c989f22fcfe8494219dcd37b35419f5f10da68de09f125",
"proof_ok": "3639790d6414b474aa1d53de4e7a896b4e6458c078867acd22200f00f20f280a",
"proof_s": "b19e0d4c7c61ad0667f60b2e51d2555139a0e511800f92c15ec44eee2a547005",
"proof_sb": "d06b4be651aa3f1858a391984413a12a83f04e5f54d794ead2d8088ccb2fbd14"
"proof_s": "ceff5ef2315be8be839b1f3c0314b72d976c2e14a2a27c2d1ce8465e90c98607",
"proof_sb": "0ea7abf79fc1bdebc8b9009cc5744358071c12e82a31565d35a8f91069b55c1b"
},
{
"comment": "Bandersnatch_SHA-512_ELL2 - vector-7",
Expand All @@ -104,11 +104,11 @@
"h": "69dec7fe79f816d095b04cead45e856ff6c7e798f513e09291958e35a5590443",
"gamma": "9adeacd15eacdc651e4db1ea4c0917973eac2000479edf6132f3774601cc6902",
"beta": "ff5f6324ea18bbb4df92f7d6304bf27a0a44fa80fd40b985de8d43963a7e02c6ef6f0947911604155c6fe40f68cc91c96ffd358275b58960554274498a70f144",
"blinding": "06c4062b0d1098ccf59ebf49c87add2deb9bd637b11ce833a4b0ab2f35306611",
"proof_pk_com": "406027b8138ca71cd3fae91c1f0493483a640ac47d90512257d2f081e59e259e",
"proof_r": "1382f1d6f4dc4c69b570c4c9ce1224af61e1dcd8d879731a57dd348e83dbb558",
"blinding": "ea1f922fce5e359d92e0fdcda53a1d2e6b791c7e7a8ffad915f3535c6175f115",
"proof_pk_com": "f674ad5f72661aa0c2bc5ca83aee9794c8b8bbc4017abcc00a11a23a0b558e68",
"proof_r": "f77eaec55fe36b06f1d1f7eef7db24fdcce74c83fde19b1c322aca288e39948f",
"proof_ok": "b846dfbceb2a74fe102b3aec94e7b8460f5adcb609c407839ab6cb06d1e3bd38",
"proof_s": "ad87350848df54f79c16dae9b37d052b4906a1b5ffd83c00405ad8c548603c17",
"proof_sb": "f1cdde2944544cbc9de259348e76eda794ec757e8f2f5df719a8961e060c6f1c"
"proof_s": "35a41d1cb4d22b5c162d319b206db940b6fcef71bbe0c13a6376a89788292519",
"proof_sb": "c04b177f954d17e7c129ce8d55cb7f148b3957078c96e7229100dc50b7d62b02"
}
]
Loading

0 comments on commit 8cef209

Please sign in to comment.