Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/armfazh/h2c-rust-ref
[RFC9380] Hash to curves - Rust reference implementation
https://github.com/armfazh/h2c-rust-ref
cryptography draft-ietf-hash-to-curve elliptic-curves hash hash-to-curve rfc-9380 rust
Last synced: 13 days ago
JSON representation
[RFC9380] Hash to curves - Rust reference implementation
- Host: GitHub
- URL: https://github.com/armfazh/h2c-rust-ref
- Owner: armfazh
- License: bsd-3-clause
- Created: 2020-03-07T08:00:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-10T23:20:58.000Z (8 months ago)
- Last Synced: 2024-10-25T05:09:06.262Z (21 days ago)
- Topics: cryptography, draft-ietf-hash-to-curve, elliptic-curves, hash, hash-to-curve, rfc-9380, rust
- Language: Rust
- Homepage: https://datatracker.ietf.org/doc/draft-irtf-cfrg-hash-to-curve
- Size: 283 KB
- Stars: 24
- Watchers: 4
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Hashing to Elliptic Curves
![Rustico](https://github.com/armfazh/h2c-rust-ref/workflows/Rustico/badge.svg)
---
**IETF Data Tracker**: [draft-irtf-cfrg-hash-to-curve](https://datatracker.ietf.org/doc/draft-irtf-cfrg-hash-to-curve)
**Internet-Draft**: [git repository](https://github.com/cfrg/draft-irtf-cfrg-hash-to-curve)
This document specifies a number of algorithms that may be used to encode or hash an arbitrary string to a point on an elliptic curve.
### Reference Implementation
The purpose of this implementation is for generating test vectors and enabling cross compatibility with other implementations.
### Warning
This implementation is **not** protected against any kind of attack,
including side-channel attacks. It **MUST NOT** be used in production systems.**Limitations**
- No specific architecture optimizations.
- No side-channel protection, see [Warning](#Warning) section.**Development branch** [master](https://github.com/armfazh/h2c-rust-ref/tree/master)
#### Draft versions implemented
Latest: [v14]Previous: [v12], [v08], [v07], [v06], [v05]
[v14]: https://github.com/armfazh/h2c-rust-ref/tree/v14.0.0
[v12]: https://github.com/armfazh/h2c-rust-ref/tree/v12.0.0
[v08]: https://github.com/armfazh/h2c-rust-ref/tree/v8.0.0
[v07]: https://github.com/armfazh/h2c-rust-ref/tree/v7.0.0
[v06]: https://github.com/armfazh/h2c-rust-ref/tree/v6.0.0
[v05]: https://github.com/armfazh/h2c-rust-ref/tree/v5.0.0#### Compatible Implementations
- [Sage](https://github.com/cfrg/draft-irtf-cfrg-hash-to-curve/tree/master/poc)
- [Go](https://github.com/armfazh/h2c-go-ref)### Internals
![hash to curve](https://github.com/cfrg/draft-irtf-cfrg-hash-to-curve/blob/main/drawings/diag.png)
### License
BSD 3-Clause License
### Contact
Feel free to open a github issue for anything related to the implementation, otherwise [e-mail](mailto:[email protected]) authors of the draft.