qubits4all / scriptless-zkp

Cryptographic protocols R&D re: zero-knowledge proofs, adaptor signatures & "scriptless" scripts
Mozilla Public License 2.0
1 stars 0 forks source link

ECC: Hash-to-Curve & Map-to-Curve with Constant-Time Algorithms #19

Open qubits4all opened 5 months ago

qubits4all commented 5 months ago

Implement Hash-to-Curve & Map-to-Curve Algorithms that Map to an Elliptic Curve Point in Constant-Time

Hash-to-Curve: A Hash-to-Curve algorithm hashes an arbitrary-length byte-string, and then maps this hash onto an elliptic curve point, with a guarantee that the produced point lies on the configured curve, is a member of the public generator's sub-group, and is not the point-at-infinity (identity/unit point).

Map-to-Curve: A Map-to-Curve algorithm must be reversible, and unlike Hash-to-Curve algorithms, it must also be deterministic. This latter constraint is a requirement for applications such as encryption (e.g., ElGamal encryption over elliptic curves).

Security Requirements: