Skip to content

mmktomato/python-xor-cipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-xor-cipher

File encryption with XOR-Cipher in Python.

Usage

$ python3 xor.py <infile> <outfile>

or

$ python3 xor.py <infile> <outfile> --key <password>
  • infile is a file path to be encrypted.
  • outfile is a encrypted file path.
  • password is a encryption password.

If you use docker,

$ docker run --rm -v $(pwd):/mnt -it mmktomato/python-xor-cipher <infile> <outfile>

or

$ docker run --rm -v $(pwd):/mnt mmktomato/python-xor-cipher <infile> <outfile> --key <password>

Note that you have to use -it if you don't specify --key <password>.

About

File encryption with XOR-Cipher in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages