22 releases

new 0.2.45 Mar 9, 2025
0.2.43 Nov 24, 2024
0.2.7 Feb 24, 2025
0.1.7 Jul 21, 2024

#863 in Concurrency

Download history 720/week @ 2024-11-20 122/week @ 2024-11-27 2/week @ 2024-12-04 9/week @ 2024-12-11 98/week @ 2025-01-01 5/week @ 2025-01-08 4/week @ 2025-02-05 113/week @ 2025-02-19 70/week @ 2025-02-26

187 downloads per month

Apache-2.0

59KB
1.5K SLoC

cas-lib

image

Overview

This is our experimental core library which takes advantage of Rust's thread safe nature to provide an abstraction layer to higher level languages to run industry standard crytographic operations sequentially and in parallel. This crate is not us writing crpytography algorthims directly in Rust, rather is it a wrapper layer for the following organizations who have done lots of hard work for us. The main usage of this library is providing a centralized entry point for various langague FFI layers throughout CAS C FFI, Typescript, Python.

Most functions within this library have a corresponding option to run the algorithm on a Rayon threadpool. Typically the functions end with _threadpool.

Consuming Library Documentation

We utilize some smart people's existing work and we believe their documentation should be reviewed when possible.

Examples

Disclaimer

Many of the cryptographic crates that are utilized in our core FFI layer have never had a security audit performed. Utilize this SDK at your own risk.

Dependencies

~18MB
~286K SLoC