Sign inSign up

mmktomato/python-xor-cipher

By mmktomato

Updated over 7 years ago

File encryption with XOR-Cipher in Python.

Image
0

1.5K

mmktomato/python-xor-cipher repository overview

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>.

Tag summary

Content type

Image

Digest

Size

28 MB

Last updated

over 7 years ago

docker pull mmktomato/python-xor-cipher