TypeAlias.EncryptedData
type EncryptedData: {
cipher: string;
iv: string;
};
Type representing the encrypted data.
- iv: Initialization Vector used for encryption.
- Size: 96 bits (12 bytes), which is standard for AES-GCM.
- cipher: Ciphertext resulting from the encryption process.
- Size: Variable, depends on the size of the input data.
Type declaration
Name | Type |
---|---|
cipher | string |
iv | string |