-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Idiomatic HashToField #630
Comments
I've slightly wrong here, the IRTF draft cannot be described using |
I think |
It's mostly done in https://github.com/w3f/arkworks-algebra/tree/xof_reader but we should still clean up the map_to_curve mess ala #629 |
Is
construct_dst_prime
fromExpanderXof
anywhere in the spec? If not, then maybe we should remove it? Anyways..I'd think
ExpanderXof
should become a freepub fn
likeWe could seemingly
impl<H: Digest+Clone> XofReader for ExpanderXmd<H>
too. I thinkKeyInit
cannot work here, so we'd provide some free fn likeIt's possible the rust crypto project would upstream this somehow even.
At this point, XoFs have become our common currency, so our
HashToField
trait also becomes a free fn likeAs field hashers are specified for each curve, individual curves might specify them via
Assuming #629 this looks like:
where
The text was updated successfully, but these errors were encountered: