HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
jedisct1
libsodium-xchacha20-siv
C2022–2022
jedisct1 / libsodium-xchacha20-siv

libsodium-xchacha20-siv

Deterministic/nonce-reuse resistant authenticated encryption scheme using XChaCha20, implemented on libsodium.

2Distinct people
2Mentions
0Explicit recommenders
31GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Deterministic/nonce-reuse resistant authenticated encryption scheme using XChaCha20, implemented on libsodium.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2022-01-10 10:49:14 UTC to 2022-01-10 18:16:00 UTC.

012022-01-10 10:00:00 UTC to 2022-01-10 11:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJan 10, 10:002022-01-10 11:00:00 UTC to 2022-01-10 12:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-10 12:00:00 UTC to 2022-01-10 13:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-10 13:00:00 UTC to 2022-01-10 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-10 14:00:00 UTC to 2022-01-10 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJan 10, 14:002022-01-10 15:00:00 UTC to 2022-01-10 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-10 16:00:00 UTC to 2022-01-10 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-10 17:00:00 UTC to 2022-01-10 18:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-10 18:00:00 UTC to 2022-01-10 19:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJan 10, 18:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Jan 10, 10:002022-01-10 10:00:00 UTC2022-01-10 11:00:00 UTC101
Jan 10, 11:002022-01-10 11:00:00 UTC2022-01-10 12:00:00 UTC000
Jan 10, 12:002022-01-10 12:00:00 UTC2022-01-10 13:00:00 UTC000
Jan 10, 13:002022-01-10 13:00:00 UTC2022-01-10 14:00:00 UTC000
Jan 10, 14:002022-01-10 14:00:00 UTC2022-01-10 15:00:00 UTC000
Jan 10, 15:002022-01-10 15:00:00 UTC2022-01-10 16:00:00 UTC000
Jan 10, 16:002022-01-10 16:00:00 UTC2022-01-10 17:00:00 UTC000
Jan 10, 17:002022-01-10 17:00:00 UTC2022-01-10 18:00:00 UTC000
Jan 10, 18:002022-01-10 18:00:00 UTC2022-01-10 19:00:00 UTC101

What Hacker News says

2 sources
Hey HN, I shared an earlier prototype version of pgsodium but I just released 2.0 and felt this could be a good opportunity to share some updates! [pgsodium](https://github.com/michelp/pgsodium) 2.0.0 is a postgres extension that uses the [libsodium](https://doc.libsodium.org/) library to provide high-performance, modern cryptography support for PostgreSQL 10+. 2.0.0 includes a ton of new feature and a few bug-fixes: * Support for [XChaCha20-SIV](https://github.com/jedisct1/libsodium-xchacha20-siv) deterministic nonce-free encryption, this is useful for one-time workflows sacrificing a bit of speed and larger key size without worrying about nonce-handling issues. * Support for [SignCryption](https://github.com/jedisct1/libsodium-signcryption) Sign & Encrypt identity verification. Signcryption goes beyond public key verification to provid
Read the rest
e identity verification, and negotiating a shared-secret key between two parties to use fast streaming encryption of the payload. * Key id support for HMACSHA 512/256, generichash, and shorthash. This extends support for pgsodium's key management feature to these useful hash functions. * Support for low level [XChaCha20 streaming](https://libsodium.gitbook.io/doc/advanced/stream_ciphers/xch...). This is if you want to support your own low level algorithms on top of XChaCha20 for example, PASETO. * More tests, docs, and small bug fixes in argument parsing * In-memory key now protected with [sodium\_malloc](https://libsodium.gitbook.io/doc/memory_management), now the key has additional protection from over/underflow memory attack. Check it out at: [https://github.com/michelp/pgsodium](https://github.com/mich... Please feel free to submit any issues you may have and as usual pull requests are greatly appreciated!
In Show HN: Pgsodium – A Crytographic PostgreSQL Extension
From Mike's comments on Reddit[0] pgsodium 2.0.0 is a postgres extension that uses the libsodium library to provide high-performance, modern cryptography support for PostgreSQL 10+. 2.0.0 includes a ton of new feature and a few bug-fixes: * Support for XChaCha20-SIV[2] deterministic nonce-free encryption * Support for SignCryption[3] Sign & Encrypt identity verification * Key id support for HMACSHA 512/256, generichash, and shorthash * Support for low level XChaCha20 streaming[4] * More tests, docs, and small bug fixes in argument parsing * In-memory key now protected with sodium_malloc[5] [0] https://www.reddit.com/r/PostgreSQL/comments/s0b6o2/pgsodium... [1] https://doc.libsodium.org/ [2] https://github.com/jedisct1/libsodium-xchacha20-siv [3] https://github.com/jedisct1/libsodium-signcryption [4] https://libsodium.gitbook.io/doc/advanc
Read the rest
In Pgsodium 2.0.0: Modern cryptography for PostgreSQL

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.