CryptoBase.Abstractions 8.0.0

dotnet add package CryptoBase.Abstractions --version 8.0.0
                    
NuGet\Install-Package CryptoBase.Abstractions -Version 8.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CryptoBase.Abstractions" Version="8.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CryptoBase.Abstractions" Version="8.0.0" />
                    
Directory.Packages.props
<PackageReference Include="CryptoBase.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CryptoBase.Abstractions --version 8.0.0
                    
#r "nuget: CryptoBase.Abstractions, 8.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CryptoBase.Abstractions@8.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CryptoBase.Abstractions&version=8.0.0
                    
Install as a Cake Addin
#tool nuget:?package=CryptoBase.Abstractions&version=8.0.0
                    
Install as a Cake Tool

CryptoBase

Package NuGet
CryptoBase NuGet.org
CryptoBase.Abstractions NuGet.org
CryptoBase.IO NuGet.org
CryptoBase.X509 NuGet.org
CryptoBase.SpeedTest NuGet.org

High-performance, modern cryptography in pure C#

See the documentation for installation and usage guides.

To measure the speed of the algorithms on your machine, run the speed test: dnx CryptoBase.SpeedTest.

Status

Icon Description
⚠️ Pending
⏳ Underway
✅ Done

Data formats

Formats Status
Base32 ✅

Hash algorithms and checksums

Cryptographic hash algorithms
Algorithms Status
BLAKE2b ✅
BLAKE3 ✅
MD5 ✅
SHA-1 ✅
SHA-224 ✅
SHA-256 ✅
SHA-384 ✅
SHA-512 ✅
SHA3-224 ✅
SHA3-256 ✅
SHA3-384 ✅
SHA3-512 ✅
SHAKE128 ✅
SHAKE256 ✅
cSHAKE128 ✅
cSHAKE256 ✅
SM3 ✅
Non-cryptographic checksums
Algorithms Status
CRC-32 ✅
CRC-32C ✅

Message authentication codes

Algorithms Status
HMAC ✅
Poly1305 ✅
KMAC128 ✅
KMAC256 ✅
KMACXOF128 ✅
KMACXOF256 ✅

Key derivation functions

Algorithms Status
Argon2d ✅
Argon2i ✅
Argon2id ✅
HKDF ✅
SM3 KDF ✅
TLS 1.2 PRF ✅

One-time passwords

Algorithms Status
HOTP ✅
TOTP ✅
Steam Guard ✅

Symmetric-key algorithms

Stream ciphers
Algorithms Status
ChaCha20 (IETF) ✅
ChaCha20 (Original) ✅
Salsa20 ✅
XChaCha20 ✅
XSalsa20 ✅
Block ciphers
Algorithms Status
AES ✅
SM4 ✅
Block cipher modes
Algorithms Status
CTR128 ✅
XTS ✅
Padding
Modes Status
Zeros ✅
PKCS #7 ✅
ANSI X9.23 ✅
ISO 10126 ✅
Authenticated encryption algorithms
Algorithms Status
AES-CCM ✅
AES-GCM ✅
ChaCha20-Poly1305 ✅
Cobblestone-128 ✅
Cobblestone-256 ✅
SM4-CCM ✅
SM4-GCM ✅
XChaCha20-Poly1305 ✅

Asymmetric cryptography

Algorithms Status
ECDH ✅
ECDSA ✅
RSA ✅
X25519 ✅
X448 ✅
Ed25519 ✅
Ed448 ✅
SM2 ✅
SM9 ✅

Hybrid public key encryption

Features Status
Base, PSK, auth and auth_psk modes ✅
HKDF-SHA256, HKDF-SHA384, HKDF-SHA512 ✅
AES-128-GCM, AES-256-GCM, ChaCha20Poly1305, export-only ✅
DHKEM(P-256, HKDF-SHA256) ✅
DHKEM(P-384, HKDF-SHA384) ✅
DHKEM(P-521, HKDF-SHA512) ✅
DHKEM(X25519, HKDF-SHA256) ✅
DHKEM(X448, HKDF-SHA512) ✅
ML-KEM-512 ⚠️
ML-KEM-768 ⚠️
ML-KEM-1024 ⚠️

Post-quantum cryptography

Key encapsulation mechanisms
Algorithms Status
ML-KEM ✅
HQC ⚠️
Hybrid key agreement mechanisms
Algorithms Status
SecP256r1MLKEM768 ✅
SecP384r1MLKEM1024 ✅
X25519MLKEM768 ✅
Digital signature algorithms
Algorithms Status
ML-DSA ✅
SLH-DSA ⚠️
FN-DSA ⚠️
Composite ML-DSA ⚠️

X.509

Features Status
Certificate decoding ✅
Self-signed certificates ✅
Host name matching (RFC 9525) ✅
Chain validation through the platform ✅
Path validation (RFC 5280) ✅
Certificate fingerprints (RFC 8122) ✅
Certificate signing requests ✅
Certificate issuance ✅
CRL ✅
OCSP ✅

Stream and file I/O

Features Status
Stream hashing ✅
Stream MACs ✅
XTS random access and streams ✅
Cobblestone encryption and decryption streams ✅
Cobblestone random access ✅
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net11.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on CryptoBase.Abstractions:

Package Downloads
CryptoBase

High-performance, modern cryptography in pure C#.

CryptoBase.BouncyCastle

BouncyCastle extensions and wrapper for CryptoBase.

CryptoBase.IO

Stream and file I/O for CryptoBase.

CryptoBase.X509

X.509 certificates for CryptoBase.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.0.0 87 11/15/2026
7.5.0 146 11/10/2026
7.4.0 156 11/4/2026
7.3.0 130 11/3/2026
7.2.0 137 11/2/2026
7.1.0 145 11/1/2026
7.0.0 138 10/30/2026
6.0.0 172 10/23/2026
5.1.1 119 10/19/2026
5.1.0 115 10/19/2026
5.0.0 126 10/18/2026
4.2.0 137 10/7/2026
4.1.0 140 9/30/2026
4.0.0 230 9/14/2026
3.1.2 3,161 12/4/2025
3.1.1 786 12/3/2025
3.1.0 759 12/3/2025
3.0.0 777 12/2/2025
2.0.0 548 11/11/2025
1.7.2 147,474 5/17/2022
Loading failed