pub fn aes256_ctr_hmac_sha256_segment_1mb_key_template() -> KeyTemplate
Expand description

Return a KeyTemplate that generates an AES-CTR-HMAC key with the following parameters:

  • Main key size: 32 bytes
  • HKDF algorthim: HMAC-SHA256
  • AES-CTR derived key size: 32 bytes
  • Tag algorithm: HMAC-SHA256
  • Tag size: 32 bytes
  • Ciphertext segment size: 1048576 bytes (1 MB)