File Encryption
Windows
PS Import-Module .\Invoke-AESEncryption.ps1
PS Invoke-AESEncryption.ps1 -Mode Encrypt -Key 'p4ssw0rd' -Path .\scan-results.txt
Linux
Encrypt
openssl enc -aes256 -iter 100000 -pbkdf2 -in /etc/passwd -out passwd.enc
Decrypt
openssl enc -d -aes256 -iter 100000 -pbkdf2 -in passwd.enc -out passwd