Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AEAD ¶
type AEAD uint16
AEAD describes iana-registered AEAD cipher. https://www.iana.org/assignments/hpke/hpke.xhtml
const ( // AES128GCM is AES-128 block cipher in Galois Counter Mode (GCM). AES128GCM AEAD = 0x01 // AES256GCM is AES-256 block cipher in Galois Counter Mode (GCM). AES256GCM AEAD = 0x02 // ChaCha20Poly1305 is ChaCha20 stream cipher and Poly1305 MAC. ChaCha20Poly1305 AEAD = 0x03 // EXPORT_ONLY is reserved for applications that only use the Exporter // interface. EXPORT_ONLY AEAD = 0xFFFF )
Click to show internal directories.
Click to hide internal directories.