Python Package to encode and decode strings using ciphers.
Project description
encdecpy
Python package to encode and decode strings using ciphers.
Installation
$ pip install encdecpy
Usage
- Base64 encoding-decoding: Parameter is a string. A string is returned.
Do
from encdecpy import base64
- base64(string).encode() : To encode a string.
- base64(string).decode() : To decode a string.
- Atbash encoding-decoding: Parameter is a string. A string is returned.
Do
from encdecpy import atbash
- atbash(string).encode() : To encode a string.
- atbash(string).decode() : To decode a string.
- ROT13 encoding-decoding: Parameter is a string. A string is returned.
Do
from encdecpy import rot13
- rot13(string).encode() : To encode a string.
- rot13(string).decode() : To decode a string.
- Caesar encoding-decoding: Parameters are a string and a key(integer) . A string is returned.
Do
from encdecpy import caesar
- caesar(string,key).encode() : To encode a string.
- caesar(string,key).decode() : To decode a string.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
encdecpy-0.0.5.tar.gz
(2.8 kB
view hashes)