Expand description
This crate provides implementations of the tink_core::DeterministicAead primitive.
Unlike AEAD, implementations of this interface are not semantically secure, because encrypting the same plaintex always yields the same ciphertext.
Modules§
- subtle
- Provides subtle implementations of the
DeterministicAEADprimitive using AES-SIV.
Constants§
- AES_
SIV_ KEY_ VERSION - Maximal version of AES-SIV keys.
- AES_
SIV_ TYPE_ URL - Type URL of AES-SIV keys that Tink supports.
- UPSTREAM_
VERSION - The upstream Tink version that this Rust port is based on.
Functions§
- aes_
siv_ key_ template - Return a
KeyTemplatethat generates a AES-SIV key. - init
- Initialize the
tink-daeadcrate, registering its primitives so they are available via tink-core. - new
- Return a
tink_core::DeterministicAeadprimitive from the given keyset handle.