CAS .NET SDK is a comprehensive cryptographic toolkit for .NET, designed to provide developers with a unified, high-level interface to industry-standard cryptographic algorithms. This library acts as an abstraction layer over the powerful RustCrypto and Dalek-Cryptography suites, enabling secure and efficient cryptographic operations through a simple .NET API.
- Official NuGet Package: cas-dotnet-sdk
- Modern cryptographic primitives: digital signatures (RSA, Ed25519), hashing, and more
- Seamless integration with cas-lib Rust FFI layer for optimal performance
- Unified interface: no need to manage multiple cryptography packages or surf disparate documentation
- Built on trusted, open-source cryptography libraries
- Cross-platform support: Windows x64, Linux x64
- Multi-framework support: .NET 6, 7, 8, 9, 10
We build on the work of leading cryptography projects. For in-depth algorithm details and implementation notes, please refer to:
See practical usage and code samples in our Examples.
We aim to provide cross-compatibility wherever possible. Test cases are run on .NET 6-9 for Windows and Linux (Ubuntu) on each pull request and release to NuGet through GitHub Actions.
- .NET 6
- .NET 7
- .NET 8
- .NET 9
- .NET 10
- Windows x64
- Linux x64
This SDK leverages several cryptographic crates via our core FFI layer. Please note that many of these crates have not undergone formal security audits. Use this library at your own risk and always review the underlying cryptographic implementations for your security requirements.
For questions, support, or to contribute, join our Discord or visit the GitHub repository.