Skip to main content

Module crypto

Module crypto 

Source
Expand description

Encryption for channel targets (webhook URLs and their secrets).

AES-256-GCM with a key derived from SECRET_KEY; the key itself is never stored. The stored form is a random 12-byte nonce followed by the ciphertext (which ends in the 16-byte tag).

Structs§

ChannelKey
The AES-256-GCM key for channel targets.

Enums§

CryptoError