A fast crypto library for .NET.


Keywords
crypto, aes, base32, chacha20, chacha20-poly1305, crc32, cryptography, hex, hkdf, hmac, rc4, salsa20, sm3, sm4, xchacha20, xchacha20-poly1305, xsalsa20
License
MIT
Install
Install-Package CryptoBase -Version 1.0.4

Documentation

CryptoBase

Channel Status
CI CI
CryptoBase NuGet.org
CryptoBase.Abstractions NuGet.org
CryptoBase.BouncyCastle NuGet.org

A fast crypto library for .NET

Wiki

Status

Icon Description
⚠️ Pending
Underway
Done
💔 Never implemented or help welcomed

Digest algorithms

Digests Software Fallback X86 Arm
CRC-32
CRC-32C
MD5 💔 💔
SHA1 ⚠️ ⚠️
SHA256 ⚠️ ⚠️
SHA384 💔 ⚠️
SHA512 ⚠️ ⚠️
SM3 💔 ⚠️

Symmetric-key algorithms

Stream ciphers

Ciphers Software Fallback X86 Arm
ChaCha20(IETF 7539)
ChaCha20(Original)
RC4 💔 💔
Salsa20
XChaCha20
XSalsa20

Block ciphers

Ciphers Software Fallback X86 Arm
AES
SM4
Block cipher modes
  • CBC
  • CFB128(Stream)
  • CTR128(Stream)

Authenticated encryption algorithms

Ciphers Software Fallback X86 Arm
AES-GCM
ChaCha20Poly1305
SM4-GCM
XChaCha20Poly1305

Asymmetric cryptography

Ciphers Software Fallback X86 Arm
RSA 💔 💔
Curve25519
Ed25519
SM2
SM9