18 releases

0.2.43 Nov 24, 2024
0.2.42 Nov 24, 2024
0.2.2 Oct 13, 2024
0.2.1 Aug 22, 2024
0.1.6 May 26, 2024

#914 in Concurrency

Download history 33/week @ 2024-08-24 9/week @ 2024-09-21 159/week @ 2024-10-12 10/week @ 2024-10-19 27/week @ 2024-11-02 5/week @ 2024-11-09 111/week @ 2024-11-16 687/week @ 2024-11-23 44/week @ 2024-11-30 11/week @ 2024-12-07

853 downloads per month

Apache-2.0

57KB
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 does 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

~17MB
~274K SLoC