Skip to main content

Module aes_ctr

Module aes_ctr 

Source
Expand description

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

Functions§

derive_key
Mint an AES-CTR 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-CTR 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