mirror of https://github.com/nucypher/pyUmbral.git
96 lines
2.7 KiB
JSON
96 lines
2.7 KiB
JSON
{
|
|
"name": "Test vectors for umbral.curvebn.CurveBN.hash()",
|
|
"params": "default",
|
|
"vectors": [
|
|
{
|
|
"input": [
|
|
{
|
|
"class": "bytes",
|
|
"bytes": ""
|
|
}
|
|
],
|
|
"output": "fd307d78e9f94e1b76762b8efd1284067c4ddd49f64f95441d57784d05a6323d"
|
|
},
|
|
{
|
|
"input": [
|
|
{
|
|
"class": "bytes",
|
|
"bytes": "616263"
|
|
}
|
|
],
|
|
"output": "26249427a90ff70e82597a97a80f62fd133038a1ddae58b446eddf1a08098da3"
|
|
},
|
|
{
|
|
"input": [
|
|
{
|
|
"class": "Point",
|
|
"bytes": "03cdaadd5e0493c8426fd65004ea1e10ddcd3fcb37ac87ce84d0ffdda36d8d6072"
|
|
}
|
|
],
|
|
"output": "b8070774566dbc192f9aeb4e34eb94b39bacdee67f7c373ca1371dd4b8b1ab41"
|
|
},
|
|
{
|
|
"input": [
|
|
{
|
|
"class": "CurveBN",
|
|
"bytes": "b32e9abad43a3724ff37dd9d15253fe66339f978e7581dff5b34b4db970b7bf3"
|
|
}
|
|
],
|
|
"output": "7d1978b2203d57abb5fe3383d7929ff8aec7b2ea08bc7f4120d12843792ceadb"
|
|
},
|
|
{
|
|
"input": [
|
|
{
|
|
"class": "Point",
|
|
"bytes": "03cdaadd5e0493c8426fd65004ea1e10ddcd3fcb37ac87ce84d0ffdda36d8d6072"
|
|
},
|
|
{
|
|
"class": "CurveBN",
|
|
"bytes": "b32e9abad43a3724ff37dd9d15253fe66339f978e7581dff5b34b4db970b7bf3"
|
|
}
|
|
],
|
|
"output": "57d604fa36e3acbe841c5367f29393868c57290fa7f411b1b9fbdbfe1c320c4f"
|
|
},
|
|
{
|
|
"input": [
|
|
{
|
|
"class": "Point",
|
|
"bytes": "03cdaadd5e0493c8426fd65004ea1e10ddcd3fcb37ac87ce84d0ffdda36d8d6072"
|
|
},
|
|
{
|
|
"class": "Point",
|
|
"bytes": "02aa6a41b809ba8d2816444788d597e6af5b81c56f7645f67e8dde417fca052828"
|
|
},
|
|
{
|
|
"class": "Point",
|
|
"bytes": "0336877b38451dd8baaa4830794091a38b7abb2c8187e1062cc2512e202739d5eb"
|
|
},
|
|
{
|
|
"class": "Point",
|
|
"bytes": "0278adf9ca33ea46b2c0fb7b5a14a2820b171a97f8c69846e9866194ed1315438a"
|
|
},
|
|
{
|
|
"class": "Point",
|
|
"bytes": "027adba799a3cf3935abb5366b5ec3f132f05a9baa0647734e7be50952e3309bd2"
|
|
},
|
|
{
|
|
"class": "Point",
|
|
"bytes": "03ee94ece91a0091e3f2c132f348716b0ab01d4ec320ad408ff9308e092dfe1e1b"
|
|
},
|
|
{
|
|
"class": "Point",
|
|
"bytes": "0203c98795773ff1c241fc0b1cced85e80f8366581dda5c9452175ebd41385fa1f"
|
|
},
|
|
{
|
|
"class": "Point",
|
|
"bytes": "026fa5450221297328a37043220b0f82a7fdf2a4ab01c9b30cd572181736390ad3"
|
|
},
|
|
{
|
|
"class": "Point",
|
|
"bytes": "038a295338304923b70a233778a1b93f869062a5d1663127a6e5a5a5b07739f21d"
|
|
}
|
|
],
|
|
"output": "c384b9566bc17b5ae424862116c89f882374c5bb2ec2c5c54bbf7b4e2cc8e179"
|
|
}
|
|
]
|
|
} |