Skip to main content

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

Metadata

Release files for dope3 3.1.0

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

Source distribution (sdist)

Source distribution for dope3 3.1.0
File Size Uploaded Provenance Actions
dope3-3.1.0.tar.gz 19.6 kB Without provenance Details for dope3-3.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 38.9 kB

Release files / dope3-3.1.0.tar.gz

Download URL dope3-3.1.0.tar.gz
Size 19.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0ab4e17735fe751fe6ddb551b48808bbe23cd6a8636c1bca07d6e1e1b1587a37
BLAKE2b-256 checksum
How to use checksums
1ef92c7421bda1ebcb4368b7d8391575deeb024d2d2dadbee94dae5a24478178
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.2 Linux/5.10.0-kali8-amd64

Release files / dope3-3.1.0-py3-none-any.whl

Download URL dope3-3.1.0-py3-none-any.whl
Size 19.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
822da5b1e22bccf34c3b9f4bb7754cfeb9ec750665260aff93bec12e8a45a554
BLAKE2b-256 checksum
How to use checksums
0a2ac607017530ebd06c7718e21064fa2d791bcdd251cf72977a333a3ca36a24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.2 Linux/5.10.0-kali8-amd64

Security for dope3 3.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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