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 dope3

Using the DOPE API

Import DOPE

from dope3 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 dope3 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-3.1.0.tar.gz (19.6 kB view hashes)

Uploaded Source

Built Distribution

dope3-3.1.0-py3-none-any.whl (19.3 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