pyUmbral/vectors/vectors_scalar_from_digest....

92 lines
2.6 KiB
JSON

{
"name": "Test vectors for umbral.curvebn.CurveScalar.from_digest()",
"params": "default",
"vectors": [
{
"input": [
{
"class": "bytes",
"bytes": ""
}
],
"output": "42184a0ea1e39037cad1ed7f3bb0cd8b7fe978e6d8b94f965e47d582cbdb8208"
},
{
"input": [
{
"class": "bytes",
"bytes": "616263"
}
],
"output": "02e2c58350c30e80f9deea1ae19e21a0baa7761f4448c792f205b8e9b7ac1ab3"
},
{
"input": [
{
"class": "CurvePoint",
"bytes": "02558f1de19a58e73a94e8fbbc6d3b1de2d312d90746ea74cb29f046943bf57871"
}
],
"output": "5dfe037b1041c4f4d89bed6305061d5d0f7f996f51cab49af958c9e635c47792"
},
{
"input": [
{
"class": "CurveScalar",
"bytes": "7a44f4f0e25258ed69f205b3770070c557d288c69a3cc453b2a42205d8c1c196"
}
],
"output": "93134c97fd051748346bf8ee6dc9f3dd920effc2faa81f7c243d0565b10ebe5e"
},
{
"input": [
{
"class": "CurvePoint",
"bytes": "02558f1de19a58e73a94e8fbbc6d3b1de2d312d90746ea74cb29f046943bf57871"
},
{
"class": "CurveScalar",
"bytes": "7a44f4f0e25258ed69f205b3770070c557d288c69a3cc453b2a42205d8c1c196"
}
],
"output": "3cd3272ccea4e738abe18c100656a6ed2ba30e6e5723c1205641c8ba72aef03c"
},
{
"input": [
{
"class": "CurvePoint",
"bytes": "02558f1de19a58e73a94e8fbbc6d3b1de2d312d90746ea74cb29f046943bf57871"
},
{
"class": "CurvePoint",
"bytes": "025e6a08eb9376adfea3a92e05fea213c493fe051461fdf5639a7108e8687eeacf"
},
{
"class": "CurvePoint",
"bytes": "030d7ea7752848f5af2aa01bde8b45e180089fc7cdbc60b59235207a6527773d73"
},
{
"class": "CurvePoint",
"bytes": "02906780e9484aec2102a01a157f10ced5aec952cd00631d94d5ea2edfa9b68083"
},
{
"class": "CurvePoint",
"bytes": "03fcfdb46bf83a68e0d674e7d5b7c0365c8fa05dd418f2ba1a4aea2abcbcd12a19"
},
{
"class": "CurvePoint",
"bytes": "02d45ec4ea9bf9d0acfba0422c6d4cfb087bd2f0084127eb90debdd94e391927f7"
},
{
"class": "CurvePoint",
"bytes": "026cb94f302809d19aacc81da19f2156db9c610498310b930d7787d8a2366dadd3"
},
{
"class": "CurvePoint",
"bytes": "03711b30de53e38ba240d34e796e09b8eabe11c385a02a6f87eb8512e1c3fff690"
}
],
"output": "fb39d851bd5f661406a4f2101b18023aadba39b966f605402179d95c07696f16"
}
]
}