cas-lib 0.2.68

A function wrapper layer for RustCrypto and Dalek-Cryptography. Intended to be used in FFI situations with a global heap deallactor at the top level project.
Documentation

CAS Rust Core Library (cas-lib)

image

Overview

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.

Features

  • 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

Documentation & References

cas-lib builds on the work of leading cryptography projects. For detailed algorithm documentation and implementation notes, please refer to:

Usage Examples

See practical usage and code samples in our Examples.

Supported Platforms

  • Windows x64
  • Linux x64

Disclaimer

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.