Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shekohex/curve25519-rs
Curve25519 in safe Pure Rust with #[no_std]. ported from rust-crypto crate
https://github.com/shekohex/curve25519-rs
Last synced: 15 days ago
JSON representation
Curve25519 in safe Pure Rust with #[no_std]. ported from rust-crypto crate
- Host: GitHub
- URL: https://github.com/shekohex/curve25519-rs
- Owner: shekohex
- Created: 2018-12-14T20:36:38.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-01-20T15:26:32.000Z (almost 3 years ago)
- Last Synced: 2024-10-04T16:48:00.693Z (about 1 month ago)
- Language: Rust
- Homepage: https://shadykhalifa.me/curve25519-rs/
- Size: 823 KB
- Stars: 11
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.APACHE.md
Awesome Lists containing this project
README
# Curve25519 in Pure Rust
[![Build Status](https://travis-ci.org/shekohex/curve25519-rs.svg?branch=master)](https://travis-ci.org/shekohex/curve25519-rs) [![Documentation](https://img.shields.io/badge/docs-0.1.0-blue.svg)](https://shadykhalifa.me/curve25519-rs/) [![License](https://img.shields.io/badge/license-MIT%2FApache--2-yellowgreen.svg)](#)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fshekohex%2Fcurve25519-rs.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fshekohex%2Fcurve25519-rs?ref=badge_shield)Curve25519 is a state-of-the-art Diffie-Hellman function suitable for a wide variety of applications.
Given a user's 32-byte secret key, Curve25519 computes the user's 32-byte public key.
Given the user's 32-byte secret key and another user's 32-byte public key, Curve25519 computes a 32-byte secret shared by the two users.
This secret can then be used to authenticate and encrypt messages between the two users.See [spec](https://cr.yp.to/ecdh.html)
## Usage
in your `Cargo.toml` file```toml
[dependencies]
curve25519 = { git = "https://github.com/shekohex/curve25519-rs" }
```### Some Notes
This crate was extracted from [rust-crypto](https://github.com/DaGenix/rust-crypto) crate.## License
All crates licensed under either of
* [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
* [MIT license](http://opensource.org/licenses/MIT)[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fshekohex%2Fcurve25519-rs.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fshekohex%2Fcurve25519-rs?ref=badge_large)