Encrypt Any Filetype
Decrypt Your Encrypted File
Single String Key / "Password"
Use Random Encryption Key (automatically matches byte size of file you are encrypting)
or Supply Your Own Key
Output Key to File (for use later)
Use File for Key Input (instead of string)
Free Source Code - Just download & compile!
ENCRYPT EXAMPLES
Code
./SFEDXOR -i <inputfile> -o <outputfile> -m encrypt [-k <keyfile>] [-ko <keyoutputfile>] [-ks <keystring>]
- <inputfile>: Path to the input file to be encrypted.
- <outputfile>: Path to save the encrypted output file.
- -m encrypt: Mode for encryption.
- -k <keyfile>: Optional. Path to a file containing the encryption key. If not provided, a key will be auto-generated.
- -ko <keyoutputfile>: Optional. Path to save the encryption key to a file.
- -ks <keystring>: Optional. Inline key string to use for encryption.
Encrypt with auto-generated key:
Code
./SFEDXOR -i input.txt -o encrypted.txt -m encrypt
Encrypt with specified key file and save key to another file:
Code
./SFEDXOR -i input.txt -o encrypted.txt -m encrypt -k key.txt -ko key_saved.txt
Encrypt with inline key string:
Code
./SFEDXOR -i input.txt -o encrypted.txt -m encrypt -ks mysecretpassword
DECRYPT EXAMPLES
Code
./SFEDXOR -i <inputfile> -o <outputfile> -m decrypt [-k <keyfile>] [-ks <keystring>]
- <inputfile>: Path to the encrypted input file.
- <outputfile>: Path to save the decrypted output file.
- -m decrypt: Mode for decryption.
- -k <keyfile>: Optional. Path to a file containing the decryption key.
- -ks <keystring>: Optional. Inline key string to use for decryption.
Decrypt with specified key file:
Code
./SFEDXOR -i encrypted.txt -o decrypted.txt -m decrypt -k key.txt
Decrypt with inline key string:
Code
./SFEDXOR -i encrypted.txt -o decrypted.txt -m decrypt -ks mysecretpassword
Disclaimer:
This is not a crypter, it is a single file encryption & decryption tool. You can use it to lock down your own files for security, to decrypt later. You can also use the final program in scripts that access command line for bulk encryption/decryption. The program does not have built in folder support, only single files. This works with any type of file, but you must make sure to keep the same file extension on the output when you decrypt. The file extension used for the encrypted file doesn't matter as long as it is decrypted into the final, correct format.
XOR is two-way symmetrical encryption. If you use a key that is shorter than the file you are encrypting/decrypting, you can expect partially exposed data.
Decrypt Your Encrypted File
Single String Key / "Password"
Use Random Encryption Key (automatically matches byte size of file you are encrypting)
or Supply Your Own Key
Output Key to File (for use later)
Use File for Key Input (instead of string)
Free Source Code - Just download & compile!
ENCRYPT EXAMPLES
Code
./SFEDXOR -i <inputfile> -o <outputfile> -m encrypt [-k <keyfile>] [-ko <keyoutputfile>] [-ks <keystring>]
- <inputfile>: Path to the input file to be encrypted.
- <outputfile>: Path to save the encrypted output file.
- -m encrypt: Mode for encryption.
- -k <keyfile>: Optional. Path to a file containing the encryption key. If not provided, a key will be auto-generated.
- -ko <keyoutputfile>: Optional. Path to save the encryption key to a file.
- -ks <keystring>: Optional. Inline key string to use for encryption.
Encrypt with auto-generated key:
Code
./SFEDXOR -i input.txt -o encrypted.txt -m encrypt
Encrypt with specified key file and save key to another file:
Code
./SFEDXOR -i input.txt -o encrypted.txt -m encrypt -k key.txt -ko key_saved.txt
Encrypt with inline key string:
Code
./SFEDXOR -i input.txt -o encrypted.txt -m encrypt -ks mysecretpassword
DECRYPT EXAMPLES
Code
./SFEDXOR -i <inputfile> -o <outputfile> -m decrypt [-k <keyfile>] [-ks <keystring>]
- <inputfile>: Path to the encrypted input file.
- <outputfile>: Path to save the decrypted output file.
- -m decrypt: Mode for decryption.
- -k <keyfile>: Optional. Path to a file containing the decryption key.
- -ks <keystring>: Optional. Inline key string to use for decryption.
Decrypt with specified key file:
Code
./SFEDXOR -i encrypted.txt -o decrypted.txt -m decrypt -k key.txt
Decrypt with inline key string:
Code
./SFEDXOR -i encrypted.txt -o decrypted.txt -m decrypt -ks mysecretpassword
Disclaimer:
This is not a crypter, it is a single file encryption & decryption tool. You can use it to lock down your own files for security, to decrypt later. You can also use the final program in scripts that access command line for bulk encryption/decryption. The program does not have built in folder support, only single files. This works with any type of file, but you must make sure to keep the same file extension on the output when you decrypt. The file extension used for the encrypted file doesn't matter as long as it is decrypted into the final, correct format.
XOR is two-way symmetrical encryption. If you use a key that is shorter than the file you are encrypting/decrypting, you can expect partially exposed data.