Swim::Seal
AES-256-GCM for one cluster key. The cipher context and the key live for the life of the node. Encrypt and decrypt write into the caller buffer.
Constants
IV = 12
PREFIX = IV + TAG
IV, tag, then ciphertext.
TAG = 16
Constructors
Instance methods
Writes plaintext into dest. Returns the byte count, or -1 when the tag fails.