Skip to main content

Python3 Implementation of DOPE Encryption

Project description

Double-Ratchet Over Parity Exchange(DOPE)

Python3 Implementation of DOPE Encryption

Installation

From source

To install from source use the following command, make sure you have setuptools>=50.0.0

python3 seutp.py install

From PyPI

pip3 install dope

Using the DOPE API

Import DOPE

from dope import DOPE

Once the dope package is imported you need to create the Dope class and initialize it with the required parameters The parameters include:

  1. Your private Key
  2. Receiver's Public Key
  3. Session Key Size
  4. BCH Polynomial
  5. Error Correcting Code Size
  6. Racheting mode (BLAKE0x0/BLAKEx0x)
  7. AES Mode(GCM/SIV/CBC/OFB)
  8. HMAC(SHA256/SHA384/SHA512)
  9. Key Mode(XOR-BL/AND-BL)

Using the DOPE2 API

Import DOPE2

from dope import DOPE2

Once the dope package is imported you need to create the Dope class and initialize it with the required parameters The parameters include:

  1. Your Key
  2. BCH Polynomial
  3. Error Correcting Code Size
  4. AES Mode(GCM/SIV/CBC/OFB)
  5. Nonce
  6. Block Size

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

dope3-2.0.4.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

dope3-2.0.4-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file dope3-2.0.4.tar.gz.

File metadata

  • Download URL: dope3-2.0.4.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.2 Linux/5.10.0-kali7-amd64

File hashes

Hashes for dope3-2.0.4.tar.gz
Algorithm Hash digest
SHA256 5109c041bc9d6f853572050f3fbc0c1b8e48210ca5885a7234364c1734f32733
MD5 6ad1d5618dfc8c7f2ea72f8f5562b78c
BLAKE2b-256 e7d81f8ac28435342961ef6508c8ea57399929b4b24ab86a2580b48378ad1772

See more details on using hashes here.

File details

Details for the file dope3-2.0.4-py3-none-any.whl.

File metadata

  • Download URL: dope3-2.0.4-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.2 Linux/5.10.0-kali7-amd64

File hashes

Hashes for dope3-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 35d348f8017787dfecded7d489e715d3d6bf1d670a25d5f7962151b6db8b5020
MD5 fed7bacd4988b1fca89fb4788530b3fd
BLAKE2b-256 fe867bdf94ef94fb126da7e2d26081ce40b387a0218627f73676e4b82e80a0d5

See more details on using hashes here.

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