Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jedisct1/rust-libhydrogen-sys
libhydrogen sys bindings for Rust
https://github.com/jedisct1/rust-libhydrogen-sys
crypto cryptography curve25519 gimli libhydrogen lightweight rust
Last synced: 2 months ago
JSON representation
libhydrogen sys bindings for Rust
- Host: GitHub
- URL: https://github.com/jedisct1/rust-libhydrogen-sys
- Owner: jedisct1
- Created: 2017-12-10T01:42:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-11-30T21:07:29.000Z (about 1 year ago)
- Last Synced: 2024-10-05T04:33:09.846Z (3 months ago)
- Topics: crypto, cryptography, curve25519, gimli, libhydrogen, lightweight, rust
- Language: Rust
- Size: 28.3 KB
- Stars: 9
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![dependency status](https://deps.rs/repo/github/jedisct1/rust-libhydrogen-sys/status.svg)](https://deps.rs/repo/github/jedisct1/rust-libhydrogen-sys)
![libhydrogen-sys](https://raw.github.com/jedisct1/libhydrogen/master/logo.png)
==================The [Hydrogen](https://github.com/jedisct1/libhydrogen) library is a small, easy-to-use, hard-to-misuse cryptographic library.
Features:
- Consistent high-level API, inspired by libsodium. Instead of low-level primitives, it exposes simple functions to solve common problems that cryptography can solve.
- 100% built using just two cryptographic building blocks: the [Curve25519](https://cr.yp.to/ecdh.html) elliptic curve, and the [Gimli](https://gimli.cr.yp.to/) permutation.
- Small and easy to audit. Implemented as one tiny file for every set of operation, and adding a single `.c` file to your project is all it takes to use libhydrogen in your project.
- The whole code is released under a single, very liberal license (ISC).
- Zero dynamic memory allocations and low stack requirements (median: 32 bytes, max: 128 bytes). This makes it usable in constrained environments such as microcontrollers.
- Portable. Supports Linux, *BSD, MacOS, Windows, and the Arduino IDE out of the box.
- Can generate cryptographically-secure random numbers, even on Arduino boards.
- Attempts to mitigate the implications of accidental misuse, even on systems with an unreliable PRG and/or no clock.This crate implement low-level Rust bindings, that don't require any external dependencies.
The [libhydrogen](https://github.com/jedisct1/rust-libhydrogen) crate provides a high-level idiomatic interface.
# [Libhydrogen documentation](https://github.com/jedisct1/libhydrogen/wiki)