Appearance
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
| Area | Start here |
|---|---|
| AES-GCM, passphrase/key encrypt | Symmetric Encryption |
| RSA, sign/verify | Asymmetric & Signing |
| Certs / CSR helpers | Certificates |
| 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