decrypt
talawa-api • Docs
talawa-api / utilities/PII/decryption / decrypt
Function: decrypt()
> decrypt(encryptedText
, key
, iv
): string
Decrypts the given encrypted text using AES-256-CBC decryption.
Parameters
• encryptedText: string
The encrypted text to decrypt, encoded as a hexadecimal string.
• key: string
The encryption key used for decryption.