Enumeration Caseswift-crypto 3.8.0Crypto

    exportOnly

    An export-only mode.

    HPKE-AEAD.swift:32
    case exportOnly

    In export-only mode, HPKE negotiates key derivation, but you can’t use it to encrypt or decrypt data.

    Other cases

    • case AES_GCM_128

      An Advanced Encryption Standard cipher in Galois/Counter Mode with a key length of 128 bits.

    • case AES_GCM_256

      An Advanced Encryption Standard cipher in Galois/Counter Mode with a key length of 256 bits.

    • case chaChaPoly

      A ChaCha20 stream cipher with the Poly1305 message authentication code.