Function: encryptBuffer()
function encryptBuffer(args: { key: Buffer; plaintext: Buffer }): Buffer;
Defined in: electron/services/cloud/crypto/cloudCrypto.ts:128
Encrypts a buffer using AES-256-GCM.
Parameters
args
key
plaintext
Returns
Buffer containing the magic header + version + IV + tag + ciphertext.