Skip to main content

Decrypto

A light-weight encryption & decryption library, Built with power and simplicity!

Decrypto is a light-weight python package to provide state of the art encryption and decryption techniques and aims to be simple and easy to use. Being open-source, Decrypto wraps a huge number of old, modern, secure and encoding based encryption-decryption methods while still being fast

Features

  • It's light-weight and fast
  • Simple to use and learn
  • Provides a multidegree of techniques from various cryptographic field

Installation

Use the package manager pip to install decrypto.

pip install decrypto

Usage

You can either use a classical cipher technique

from decrypto import MorseCodeCipher

cipher = MorseCodeCipher()
data = 'Hello World'

# encrypt using morse code cipher
encrypted = cipher.encrypt(data)
print(encrypted)

# decrypt using morse code cipher
decrypted = cipher.decrypt(encrypted)
print(decrypted)

or a more advanced and modern cipher technique

from decrypto import RSACipher

cipher = RSACipher()
data = 'hello world'

keys = cipher.generate_keys(23, 31)
encrypted = cipher.encrypt(message, keys['public_key'])
decrypted = cipher.decrypt(encrypted, keys['private_key'])

print(keys)
print(encrypted)
print(decrypted)

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

License

MIT

Metadata

Release files for decrypto 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for decrypto 1.1.1
File Size Uploaded
decrypto-1.1.1.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for decrypto 1.1.1
File Interpreter ABI Platform
decrypto-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 28.0 kB

Release files / decrypto-1.1.1.tar.gz

Download URL decrypto-1.1.1.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4db5be4c9f8d2ea5f54b61d7b5a970cb21bf7f4421e92e66326fe7262506f80d
BLAKE2b-256 checksum
How to use checksums
124d748f9d7418c749c4d689aa3417d6007940d577ec4cff05ef04b71193fc12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/58.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

Release files / decrypto-1.1.1-py3-none-any.whl

Download URL decrypto-1.1.1-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6bf15f69e271f887ec58d1c5a5282d5918a9a77911d61d57ced1353cd756a6f
BLAKE2b-256 checksum
How to use checksums
7c9b350522c5b7d2cf9bb2db469350f4b7ee5a215f6d522b24ea02a1cc1a5738
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/58.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

Release history Release notifications | RSS feed

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.80

2 release files

1.0.9

2 release files

1.0.7

2 release files

1.0.6

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page