# std/crypto: implement the Hash-To-Curve standard for Edwards25519 · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/0d9c474ecfaf58698774022211d06da97d2fd648)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 0d9c474ecfaf58698774022211d06da97d2fd648

Requested commit: 0d9c474ecfaf58698774022211d06da97d2fd648

Commit: 0d9c474ecfaf58698774022211d06da97d2fd648

Tree: df48fb7b794168c4b2b216ee4d481009cc2a7ba8

Author: Frank Denis

Committer: Andrew Kelley

## Message

```
std/crypto: implement the Hash-To-Curve standard for Edwards25519

https://github.com/cfrg/draft-irtf-cfrg-hash-to-curve

This is quite an important feature to have since many other standards
being worked on depend on this operation.

Brings a couple useful arithmetic operations on field elements by the way.

This PR also adds comments to the functions we expose in 25519/field
so that they can appear in the generated documentation.

```

## Parents

- [fa27420b72b81126ae7880f2da41218bdf9941e9](https://git.cafe/gitcafe/zig/commit/fa27420b72b81126ae7880f2da41218bdf9941e9?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/0d9c474ecfaf58698774022211d06da97d2fd648?format=markdown)
