🍖Protected File Transfers
File Encryption on Windows
One of the simplest methods is the Invoke-AESEncryption.ps1 PowerShell script for enryption of files and strings.
Or for a file ->
After the script has been transferred, it only needs to be imported as a module ->
File Encryption on Linux
To encrypt a file using openssl
we can select different ciphers like -aes256.
We can also override the default iterations counts with the option -iter 100000
and add the option -pbkdf2
to use the Password-Based Key Derivation Function 2 algorithm
Let's try encrypting /etc/passwd ->
and to decrypt it ->
Last updated