Pure C#, portable and performant cryptography primitives.
No security audits of this code have ever been performed. USE AT YOUR OWN RISK.
| .NET version | Span | SIMD acceleration |
|---|---|---|
| 5.0 | ✔️ | ✔️ |
| Core 3.1 | ✔️ | ✔️ |
| Core 2.1 | ✔️ | ❌ |
| Standard 2.1 | ✔️ | ❌ |
| Standard 1.3 | ❌ | ❌ |
| Framework 4.5 | ❌ | ❌ |
| Framework 3.5 | ❌ | ❌ |
# Test
dotnet test --filter "FullyQualifiedName~Chacha20Poly1305"
# Bench
dotnet run -p AtlasRhythm.Cryptography.Benchmarks -- chacha20poly1305| Allocations | SSE2 | AVX2 |
|---|---|---|
| 0 | ✔️ | ✔️ |
| Allocations | SSE2 | AVX2 |
|---|---|---|
| 0 | ❌ | ❌ |
This code is distributed under the terms of the Apache License (Version 2.0).