minicrypto 0.1.0
Modern cryptography for D
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Minicrypto
Tiny, zero-dependency cryptographic primitives library for D language.
Most of it is a direct port of Monocypher C code to D, retaining Monocypher API.
Features
- Fast
- No garbage collector usage (
@nogc) - Portable across Windows and Posix systems
Modules
minicrypto.chacha20- ChaCha20 stream cipherminicrypto.poly1305- Poly1305 one-time message authentication codeminicrypto.aead- ChaCha20-Poly1305 authenticated encryption with associated data (AEAD) algorithmminicrypto.x25519- Diffie-Hellman key exchange function based on Curve25519 elliptic curveminicrypto.csprng- cryptographically secure pseudorandom number generator.
BetterC
Minicrypto can be optionally used in BetterC mode. Add the following to your dub.json:
"subConfigurations": {
"minicrypto": "betterC"
},
License
Disclaimer
Minicrypto is intended for applications that need lightweight cryptographic primitives. It is not a replacement for a full cryptographic protocol library. Do not design your own cryptographic systems unless you know what you are doing.
- 0.1.0 released 3 days ago
- gecko0307/minicrypto
- CC0-1.0
- Copyright © 2026, Timur Gafarov
- Authors:
- Dependencies:
- none
- Versions:
-
Show all 5 versions0.4.0 2026-Jul-29 0.3.0 2026-Jul-28 0.2.0 2026-Jul-28 0.1.0 2026-Jul-28 ~main 2026-Jul-29 - Download Stats:
-
-
0 downloads today
-
3 downloads this week
-
3 downloads this month
-
3 downloads total
-
- Score:
- 0.0
- Short URL:
- minicrypto.dub.pm