{"id":13741223,"url":"https://github.com/jedisct1/libhydrogen","last_synced_at":"2025-05-15T04:06:14.990Z","repository":{"id":37276215,"uuid":"80458219","full_name":"jedisct1/libhydrogen","owner":"jedisct1","description":"A lightweight, secure, easy-to-use crypto library suitable for constrained environments.","archived":false,"fork":false,"pushed_at":"2025-04-06T23:37:46.000Z","size":376,"stargazers_count":684,"open_issues_count":1,"forks_count":102,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-04-14T05:56:17.253Z","etag":null,"topics":["arduino","atmega328p","avr","c","crypto","cryptography","embedded","embedded-systems","gimli"],"latest_commit_sha":null,"homepage":"https://libhydrogen.org","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jedisct1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-01-30T20:04:21.000Z","updated_at":"2025-04-12T11:09:29.000Z","dependencies_parsed_at":"2023-02-09T12:45:37.100Z","dependency_job_id":"1f46b22d-e985-4903-923f-64ad6e88d931","html_url":"https://github.com/jedisct1/libhydrogen","commit_stats":{"total_commits":330,"total_committers":29,"mean_commits":"11.379310344827585","dds":"0.18787878787878787","last_synced_commit":"c18e510d23c7539629e306d47925a35327eb1ebf"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Flibhydrogen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Flibhydrogen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Flibhydrogen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jedisct1%2Flibhydrogen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jedisct1","download_url":"https://codeload.github.com/jedisct1/libhydrogen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254270646,"owners_count":22042859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","atmega328p","avr","c","crypto","cryptography","embedded","embedded-systems","gimli"],"created_at":"2024-08-03T04:00:56.982Z","updated_at":"2025-05-15T04:06:09.956Z","avatar_url":"https://github.com/jedisct1.png","language":"C","funding_links":["https://opencollective.com/libhydrogen"],"categories":["Cryptography","C","C Libraries"],"sub_categories":["General"],"readme":"[![Build status](https://travis-ci.org/jedisct1/libhydrogen.svg?branch=master)](https://travis-ci.org/jedisct1/libhydrogen?branch=master)\n![CodeQL scan](https://github.com/jedisct1/libhydrogen/workflows/Code%20scanning%20-%20action/badge.svg)\n[![Financial Contributors on Open Collective](https://opencollective.com/libhydrogen/all/badge.svg?label=financial+contributors)](https://opencollective.com/libhydrogen) [![Coverity Scan Build Status](https://scan.coverity.com/projects/13315/badge.svg)](https://scan.coverity.com/projects/13315)\n[![TrustInSoft CI](https://ci.trust-in-soft.com/projects/jedisct1/libhydrogen.svg?branch=master)](https://ci.trust-in-soft.com/projects/jedisct1/libhydrogen)\n\n![libhydrogen](https://raw.github.com/jedisct1/libhydrogen/master/logo.png)\n==============\n\nThe Hydrogen library is a small, easy-to-use, hard-to-misuse cryptographic library.\n\nFeatures:\n- Consistent high-level API, inspired by libsodium. Instead of low-level primitives, it exposes simple functions to solve common problems that cryptography can solve.\n- 100% built using just two cryptographic building blocks: the [Curve25519](https://cr.yp.to/ecdh.html) elliptic curve, and the [Gimli](https://csrc.nist.gov/CSRC/media/Projects/Lightweight-Cryptography/documents/round-1/spec-doc/gimli-spec.pdf) permutation.\n- 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.\n- The whole code is released under a single, very liberal license (ISC).\n- Zero dynamic memory allocations and low stack requirements (median: 32 bytes, max: 128 bytes). This makes it usable in constrained environments such as microcontrollers.\n- Portable: written in standard C99. Supports Linux, *BSD, MacOS, Windows, and the Arduino IDE out of the box.\n- Can generate cryptographically-secure random numbers, even on Arduino boards.\n- Attempts to mitigate the implications of accidental misuse, even on systems with an unreliable PRG and/or no clock.\n\nNon-goals:\n- Having multiple primitives serving the same purpose, even to provide compatibility with other libraries.\n- Networking -- but a simple key exchange API based on the Noise protocol is available, and a STROBE-based transport API will be implemented.\n- Interoperability with other libraries.\n- Replacing libsodium. Libhydrogen tries to keep the number of APIs and the code size down to a minimum.\n\n# [Libhydrogen documentation](https://github.com/jedisct1/libhydrogen/wiki)\n\nThe documentation is maintained in the [libhydrogen wiki](https://github.com/jedisct1/libhydrogen/wiki).\n\nThe legacy libhydrogen code (leveraging XChaCha20, SipHashX, BLAKE2SX, Curve25519) remains available in the [v0 branch](https://github.com/jedisct1/libhydrogen/tree/v0).\n\n## Contributors\n\n### Code Contributors\n\nThis project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].\n\u003ca href=\"https://github.com/jedisct1/libhydrogen/graphs/contributors\"\u003e\u003cimg src=\"https://opencollective.com/libhydrogen/contributors.svg?width=890\u0026button=false\" /\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedisct1%2Flibhydrogen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjedisct1%2Flibhydrogen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjedisct1%2Flibhydrogen/lists"}