CAS Rust Core Library (cas-lib) is a unified cryptographic abstraction layer for Rust, designed to provide secure, high-performance access to industry-standard cryptographic algorithms. Acting as a wrapper over trusted libraries such as RustCrypto and Dalek-Cryptography, cas-lib enables seamless integration with higher-level languages and FFI layers, including C, TypeScript, Python, and .NET.
- Official Crate: cas-lib on crates.io
- Modern cryptographic primitives: digital signatures (RSA, Ed25519), hashing, key exchange, symmetric and asymmetric encryption, password hashing, and more
- Centralized entry point for FFI bindings: C, TypeScript, Python, .NET
- Built on top of well-established, open-source cryptography libraries
- Thread-safe, high-performance Rust implementation
- Cross-platform support: Windows, Linux
cas-lib builds on the work of leading cryptography projects. For detailed algorithm documentation and implementation notes, please refer to:
See practical usage and code samples in our Examples.
- Windows x64
- Linux x64
This library leverages several cryptographic crates via our core FFI layer. 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.