hashToCurve

Obtains a suitable secure hash-to-curve suite as defined in RFC9380.

Return

a function mapping arbitrary bytes to a point on the curve

Parameters

domain

a suitable domain separation tag (DST) for your use case; this should be unique to this particular use case within your application! see RFC9380 3.1 Domain Separation Requirements for guidance