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