Crate vitaminc_async_traits

Crate vitaminc_async_traits 

Source
Expand description

§Vitamin C Async Traits

Crates.io Workflow Status

A library for permuting data in a secure and efficient manner.

This is the companion crate to vitaminc-traits and offers async versions of some of the traits defined there.

For example, AsyncFixedOutputReset, the async version of FixedOutputReset, is used to implement HMAC using Amazon’s KMS. See vitaminc-kms.

This crate is part of the Vitamin C framework to make cryptography code healthy.

§Acknowledgements

Shoutout to Tony Arcieri, Artyom Pavlov and all the contributors to the Rust Crypto project which was the inspiration for this crate.

§CipherStash

Vitamin C is brought to you by the team at CipherStash.

License: MIT

Traits§

AsyncFixedOutput
Defines an asynchronous digest or MAC algorithm output function. N is the output size in bytes. O is the output type which must implement OutputSize<N>.
AsyncFixedOutputReset
Defines an asynchronous digest or MAC algorithm output function that resets the state. N is the output size in bytes. O is the output type which must implement OutputSize<N>.