AES algorithm to decrypt encrypted data.
Required Parameters
- keyVaultEntry: The name of the encrypted vault item to use for the key. Values stored in this vault item must match the encoding set in keyVaultEntryFormat and meet the length requirement of the selected algorithm.
- ivVaultEntry: The name of the encrypted vault item to use for the initialization vector (IV). Values stored in this vault item must match the encoding set in ivVaultEntryFormat and meet the length requirement of the selected algorithm.
Optional Parameters
- algorithm: The name of the algorithm used for encryption. AES is currently the only supported value. It supports 128, 192, and 256-bit key lengths.
- cipherMode: The method used to process and decrypt the encrypted data. Accepted values are:
CBC,ECB,OFB,CFB,CTS,8OFB,8CFB,GCM,CTR, andXTS. The default isCBC. - paddingMode: The method used to handle extra or missing data when decrypting a message, ensuring the plaintext is correctly reconstructed. Accepted values are:
PKCS7,Zeros,None,ANSIX923, andISO10126. The default isPKCS7. - keyVaultEntryFormat: The encoding on the value stored in the keyVaultEntry item. Accepted values are:
HEX,BASE64,8BIT, andRAW. The default isHEX. - ivVaultEntryFormat: The encoding on the value stored in the ivVaultEntry item. Accepted values are:
HEX,BASE64,8BIT, andRAW. The default isHEX. - data: The data to decrypt.
- file: The file to decrypt.
- outFile: The file in which to store the decrypted data.
- inFormat: The format to use for encrypted input data. Accepted values are:
HEX,BASE64,8BIT, andRAW. The default isHEX. - outFormat: The format to use for encrypted output data. Accepted values are:
HEX,BASE64,8BIT, andRAW. The default isHEX.
Output Attributes
- data: The decrypted data, if outFile was not specified.
- outFile: The file containing the decrypted data, if outFile was specified.