I use it to encrypt the mnemonic phrases of various cryptocurrencies.
encryption <encrypt/decrypt> <file_path> <password>
To use this script, run it from the command line with three arguments:
encrypt
ordecrypt
to specify the desired action.- The path to the file you want to encrypt/decrypt.
- The password to use for encryption/decryption.
Linux/Mac:
./encryption encrypt my-mnemonic-seed mypasswd
./encryption decrypt my-mnemonic-seed.encrypted mypasswd
Windows:
.\encryption.exe encrypt my-mnemonic-seed mypasswd
.\encryption.exe decrypt my-mnemonic-seed.encrypted mypasswd