Skip to content
Andreas Auernhammer edited this page Mar 1, 2017 · 1 revision

hydrogen logo

Hydrogen is a Go implementation of the libhydrogen library. This project tries to provide an idiomatic and easy-to-use / hard-to-misuse API to modern cryptographic primitives.

Why should I use Hydrogen?

One of the most common causes of cryptographic failure is related to incorrect usage. Hydrogen tries to provide an API, that makes misuse nearly impossible on the one hand and relies on modern cryptographic primitives to provide reasonable security on the other hand. Furthermore Hydrogen tries to solve common - but not all - problems related to security like confidentiality and integrity of some information. To keep things simple Hydrogen don't provide a full set of cryptographic primitives. This means, that Hydrogen is not an one-fits-all library.

So when should I use Hydrogen?

In general Hydrogen can be used to encrypt (and authenticate) your data, exchange a key or sign a message. The focus of this Go implementation is to be compatible to the lib-hydrogen C library. So maybe you want to communicate to some (embedded) system in a secure way. Than you can use for example the C library on your (embedded) system and the Go library on your server or desktop client.

Clone this wiki locally