Cryptographic-API-Services / cas-dotnet-sdk

A Nuget package that provides a implementation of the RustCrypto suite of cryptographic algorithms.
Apache License 2.0
0 stars 0 forks source link

ZSTD Compression #117

Closed WingZer0o closed 3 months ago

WingZer0o commented 4 months ago

https://crates.io/crates/zstd

When CAS was originally acting as an SSM (Software Security Module) of sorts, I used Facebook's ZSTD compression to try and cut down on bandwidth constraints. The architecture has undergone an overhaul since then.

The CAS C# SDK will soon have the ability to compress data before it is encrypted abstracting the details away from the user. Unfrequently since CAS deals with data needs to be cryptographically secure we will not be supporting ZSTD's dictionary mode for smaller datasets due to the requirement of maintaining a dictionary file for training data.

Compression methods will be in the free-tier of the library not based upon a subscription unless you want to perform your cryptographic operation and compression on the thread pool.