cfrg / draft-irtf-cfrg-hash-to-curve

Hashing to Elliptic Curves
Other
78 stars 27 forks source link

hash-to-field test vectors #304

Closed bytemare closed 3 years ago

bytemare commented 3 years ago

Some protocols need to implement hash-to-field described here, but there are no test vectors to verify the implementations.

Would it be possible to add reference test vectors for hash-to-field?

cc @chris-wood

chris-wood commented 3 years ago

cc @kevinlewi

kevinlewi commented 3 years ago

An example:

hash_to_field for:

message: "abcdef0123456789" dst: "dst" number of scalars: 1 output (serialized scalar in bytes): c34102c5c90ef745e01dd94d30454ba7e7395b45483318b7b6ba297e1424040d

bytemare commented 3 years ago

Closing?