CryptoBase 7.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package CryptoBase --version 7.2.0
                    
NuGet\Install-Package CryptoBase -Version 7.2.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" Version="7.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CryptoBase" Version="7.2.0" />
                    
Directory.Packages.props
<PackageReference Include="CryptoBase" />
                    
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 --version 7.2.0
                    
#r "nuget: CryptoBase, 7.2.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@7.2.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&version=7.2.0
                    
Install as a Cake Addin
#tool nuget:?package=CryptoBase&version=7.2.0
                    
Install as a Cake Tool

CryptoBase

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

A fast crypto library for .NET

See the documentation for installation and usage guides.

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 ✅
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) ⚠️

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 ⚠️

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 ⏳
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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on CryptoBase:

Package Downloads
BilibiliLiveRecordDownLoader.BilibiliApi

Package Description

TotpLib

Modern .NET library for TOTP.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on CryptoBase:

Repository Stars
HMBSbige/ShadowsocksR-Windows
Ship of Theseus
HMBSbige/BilibiliLiveRecordDownLoader
Bilibili 直播录制
Version Downloads Last Updated
8.0.0 113 11/15/2026
7.5.0 119 11/10/2026
7.4.0 129 11/4/2026
7.3.0 104 11/3/2026
7.2.0 112 11/2/2026
7.1.0 126 11/1/2026
7.0.0 113 10/30/2026
6.0.0 161 10/23/2026
5.1.1 107 10/19/2026
5.1.0 94 10/19/2026
5.0.0 109 10/18/2026
4.2.0 131 10/7/2026
4.1.0 140 9/30/2026
4.0.0 221 9/14/2026
3.1.2 3,198 12/4/2025
3.1.1 788 12/3/2025
3.1.0 767 12/3/2025
3.0.0 783 12/2/2025
2.0.0 557 11/11/2025
1.7.2 122,005 5/17/2022
Loading failed