Skip to main content

Module aes_cbc

Module aes_cbc 

Source
Expand description

aes-cbc key creation (the unauthenticated AES-CBC mode; prefer aes_gcm — see CipherKey’s warning).

Functions§

derive_key
Mint an AES-CBC key of the declared variant from a parameterized derivation. See aes_gcm::derive_key for the grant contracts.
generate_key
Generate a fresh random key of the declared AES variant.
import_key_jwk
Import an RFC 7517 oct JSON Web Key (as JSON text) as a AES-CBC key of the declared variant. See the WIT mac-key.export-key-jwk doc for the package-wide JWK contract.
import_key_raw
Import raw key material as the declared AES variant.

Type Aliases§

AesVariant