Crate cosmian_crypto_core
source ·Expand description
This crate implements crypto primitives which are used in many other Cosmian cryptographic resources.
Modules
Implement the
Serializer
and Deserializer
objects using LEB128.Defines the
SymmetricCrypto
and DEM
traits and provides an
implementation based on AES256-GCM.Macros
Key Derivation Function (KDF).
Enums
Error type for this crate.
Traits
Cryptographic key.
Type Definitions
Use
ChaCha
with 12 rounds as cryptographic RNG.