# Transfer Invoke-AESEncryption.ps1 file on windows using any method
# Invoke-AESEncryption.ps1 : <https://www.powershellgallery.com/packages/DRTools/4.0.2.3/Content/Functions%5CInvoke-AESEncryption.ps1>
# Import Module Invoke-AESEncryption.ps1
PS C:\> Import-Module .\\Invoke-AESEncryption.ps1
# Example
PS C:\> Invoke-AESEncryption.ps1 -Mode Encrypt -Key "p4ssw0rd" -Path .\\scan-results.txt
# Using OpenSSl
# Encrypting /etc/passwd with openssl
openssl enc -aes256 -iter 100000 -pbkdf2 -in /etc/passwd -out passwd.enc
# Decrypt passwd.enc with openssl
openssl enc -d -aes256 -iter 100000 -pbkdf2 -in passwd.enc -out passwd