Skip to content

Atlas-Rhythm/AtlasRhythm.Cryptography.NET

Repository files navigation

AtlasRhythm.Cryptography

Pure C#, portable and performant cryptography primitives.

No security audits of this code have ever been performed. USE AT YOUR OWN RISK.

Tests Status Docs NuGet

Support

.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

AEADs

ChaCha20-Poly1305

Docs

# Test
dotnet test --filter "FullyQualifiedName~Chacha20Poly1305"
# Bench
dotnet run -p AtlasRhythm.Cryptography.Benchmarks -- chacha20poly1305

Ciphers

ChaCha20

Allocations SSE2 AVX2
0 ✔️ ✔️

MACs

Poly1305

Allocations SSE2 AVX2
0

License

This code is distributed under the terms of the Apache License (Version 2.0).