To encode & decode by shift text(Symmetric encryption).
pip install Offset
- Import
from offset import Offset
- Convert text through a public method
Offset.convert(text, number)
- Basic mode:
offset -n 10 -s 'Hello'
- File mode:
The new file will be stored at '~/offset_export/filename_%Y%m%d_%H%M%S.ext'
offset -n 10 -f '/filepath/and/filename.ext'
- Interactive mode
you can give it a default without enter a number every single time.
offset -i [-n int]
If you like my work, please consider buying me a coffee or PayPal
Thanks for your support! Cheers! 🎉