Description
Uses the provided private key to decrypt the specified file to a new file.
This is typically used to decrypt information that was encrypted using encrypt_file
with the corresponding public key. It helps you avoid building your own encrypt-decrypt system.
Usage
Shell | Function |
---|---|
Bash |
|
PowerShell |
|
key
is the fully qualified path of the private key fileoutput
is the name of the resulting decrypted file. Defaults to “decrypted”source filename
is the file to be decrypted