Aes256GCMEncryptor

constructor(secretKey: String)(source)

Creates an instance of Aes256GCMEncryptor using the provided secret key. The secret key must be a Base64-encoded string representing a valid 256-bit AES key.

Parameters

secretKey

A Base64-encoded string representing the AES-256 secret key to initialize the encryptor.