pub trait HintSized<K: KeyPair, A: AeadCore, L: ArraySize>: Sized {
type CiphertextSize: ArraySize;
type Size: ArraySize;
}Expand description
Provides compile-time size information for Hint serialization.
The associated types give access to the ciphertext and total hint sizes, computed from the key pair, AEAD algorithm, and message length.
Required Associated Types§
Sourcetype CiphertextSize: ArraySize
type CiphertextSize: ArraySize
Ciphertext size: AEAD tag size plus message length.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.