Skip to main content

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

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

Uploaded Source

Built Distribution

encdecpy-0.0.5-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page