Geralt
A modern cryptographic library for .NET 8+ based on libsodium and inspired by Monocypher.
[Geralt](https://www.geralt.xyz/) is a modern cryptographic library for [.NET 8+](https://dotnet.microsoft.com/en-us/download/dotnet) based on [libsodium](https://doc.libsodium.org/) and inspired by [Monocypher](https://monocypher.org/). The project is written primarily in C#, distributed under the MIT License license, first published in 2022. Key topics include: aegis128l, aegis256, argon2id, blake2b, chacha20.
Latest release: v4.3.0
June 14, 2026View Changelog →
Geralt
Geralt is a modern cryptographic library for .NET 8+ based on libsodium and inspired by Monocypher.
- Simple: an easy-to-learn API with descriptive naming. Only one algorithm for each task is provided when possible.
- Modern: the latest and greatest cryptographic algorithms, such as AEGIS-128L/AEGIS-256, (X)ChaCha20-Poly1305, BLAKE2b, Argon2id, X25519, and Ed25519.
- Secure: libsodium was audited in 2017 and is the library of choice for lots of projects and even large companies. Geralt has also been repeatedly audited, albeit by AI.
- Fast: libsodium is faster than many other cryptographic libraries. Furthermore, Geralt uses Span<T> buffers to avoid memory allocations.
For more information, please visit these links:
| Documentation: | https://www.geralt.xyz/ |
| Installation: | https://www.geralt.xyz/#installation |
| Open issues: | https://github.com/samuel-lucas6/Geralt/issues |
| Discussions: | https://github.com/samuel-lucas6/Geralt/discussions |
| Pull requests: | https://github.com/samuel-lucas6/Geralt/pulls |
Contributors
Showing top 4 contributors by commit count.
This article is auto-generated from samuel-lucas6/Geralt via the GitHub API.Last fetched: 6/19/2026
