Skip to content

Prefer libhydrogen for new apps? #1428

Answered by jedisct1
Ramblurr asked this question in Q&A
Discussion options

You must be logged in to vote

libhydrogen is great for its portability, simplicity and compactness. It's also a good option on constrained environments.

It doesn't have secretstream, but hydro_secretbox accepts a counter that can simply be incremented after each chunk. This is exactly what encpipe does.

You're right about version numbers. There's been two major versions (v0 and v1), but no minor versions tagged along the way. Even though there haven't been breaking changes, this is something I'll try to do.

As it's a single C file, libhydrogen is usually directly copied into apps, rather than shipped as a library, though.

If performance is a concern, and it seems to be the case according to your list of use cases, lib…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Ramblurr
Comment options

@jedisct1
Comment options

Answer selected by Ramblurr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants