Skip to main content

Several ciphers for python

Project description

PythoCrypt

Build Status

This package is intended to contain some of the most famous encryption tools, that includes:

  • Caesar shift
  • Rail fence

Installation

Run into your terminal to install:

pip install pythocrypt

Documentation

For more information, read the latest documentation is at: https://hugoespinelli.github.io/pythocrypt/

You can also check pypi: https://pypi.org/project/pythocrypt/

Examples

Using Caesar's cipher

To encrypt a message using Caesar shift:

from pythoncrypt import caesar

message = "Hello World"
message_encrypted = caesar.encrypt(message)

For decryption is very similar from example above:

from pythoncrypt import caesar

message_encrypted = ""
message = caesar.decrypt(message_encripted)

The default shift is 3, but you can also change the shift distance, passing as parameter when calling decrypt method:

from pythoncrypt import caesar

message_encrypted = ""
message = caesar.decrypt(message_encripted, shift=10)

License

PythoCrypt is under the MIT License

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

pythocrypt-0.4.tar.gz (135.5 kB view details)

Uploaded Source

Built Distribution

pythocrypt-0.4-py3-none-any.whl (135.3 kB view details)

Uploaded Python 3

File details

Details for the file pythocrypt-0.4.tar.gz.

File metadata

  • Download URL: pythocrypt-0.4.tar.gz
  • Upload date:
  • Size: 135.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.4

File hashes

Hashes for pythocrypt-0.4.tar.gz
Algorithm Hash digest
SHA256 9ed0c48f66aeb5fbf7408c40addb86715ead307d591d0259d4c94f6db0bd0661
MD5 4cdd24c97076f4a0507874085678cedc
BLAKE2b-256 d517c38381e5ffe66f01385798de5f04f4803684ffef5b5cc8a146b2028d364f

See more details on using hashes here.

File details

Details for the file pythocrypt-0.4-py3-none-any.whl.

File metadata

  • Download URL: pythocrypt-0.4-py3-none-any.whl
  • Upload date:
  • Size: 135.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.4

File hashes

Hashes for pythocrypt-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 233dd2edb8f63937a25bc64b32ef26018c9fdd6ef41d47e031b57af71c766e2e
MD5 bfb13f41c7efcf269989e394dbd16430
BLAKE2b-256 2681509194fac830138748b57e2908425e24db739606c0f92ccbbccc5588aeb5

See more details on using hashes here.

Supported by

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