CAS TypeScript SDK is a comprehensive cryptographic toolkit for Node.js, 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 TypeScript API.
- Official NPM Package: cas-typescript-sdk
- Modern cryptographic primitives: symmetric encryption, asymmetric encryption, digital signatures, hashing, password hashing, key exchange, and more
- Seamless integration with cas-lib Rust FFI layer for optimal performance
- TypeScript-first API for type safety and developer productivity
- Unified interface: no need to manage multiple cryptography packages or surf disparate documentation
- Built on trusted, open-source cryptography libraries
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.
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.