Skip to content

JASE.Crypto ​

Symmetric and asymmetric cryptography with explicit options, stable wire formats, and no “magic” defaults that change under you.

When to use it ​

  • You need AES-GCM (or classic AES) with a documented envelope layout
  • You need RSA encrypt/sign helpers with clear key import/export
  • You want certificate/CSR helpers that stay predictable across hosts

Prefer AES-GCM for new confidentiality work. Use the older Symmetric AES-CBC helpers when you must interoperate with existing containers — not as the default for greenfield data.

Package map ​

AreaStart here
AES-GCM, passphrase/key encryptSymmetric Encryption
RSA, sign/verifyAsymmetric & Signing
Certs / CSR helpersCertificates
API reference/api/crypto/

Design posture ​

  • No silent behavior changes on deprecation — see the in-repo docs/crypto-deprecation-policy.md
  • Wire formats stay decryptable across versions; new parameters are additive
  • Weak primitives (DES, RC2, MD5, …) may remain available behind [Obsolete] for interop — do not use them in new code

Install ​

powershell
dotnet add package JASE.Crypto