Skip to content

nanogiants/tenc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(t)iny (enc)ryption

Simple en- and decryption script

How to use

pip install -U PyCryptodome coverage
pip install tenc
usage: tenc [-h] -f PATH -p PASSWORD [-d]

Encrypt and decrypt files

optional arguments:
  -h, --help   show this help message and exit
  -f PATH      Path to file
  -p PASSWORD  The password
  -d           Should decrypt otherwise encrypt

Examples:

tenc -p 5a04ec902686fb05a6b7a338b6e07760 -f ./test.json
tenc -p 5a04ec902686fb05a6b7a338b6e07760 -f ./test.json.enc -d

Tests

python3 -m unittest discover
coverage run -m unittest discover && coverage report && coverage html

Publish

python3 setup.py sdist bdist_wheel
python -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

python3 setup.py develop
python setup.py develop --uninstall

Docs

# docs
sphinx-apidoc -o source/ ../tenc
cd docs
make clean && make html

python -m compileall .

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages