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:
- Your private Key
- Receiver's Public Key
- Session Key Size
- BCH Polynomial
- Error Correcting Code Size
- Racheting mode (
BLAKE0x0
/BLAKEx0x
) - AES Mode(
GCM
/SIV
/CBC
/OFB
) - HMAC(
SHA256
/SHA384
/SHA512
) - 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:
- Your Key
- BCH Polynomial
- Error Correcting Code Size
- AES Mode(
GCM
/SIV
/CBC
/OFB
) - Nonce
- 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.5.tar.gz
(19.3 kB
view details)
Built Distribution
dope3-2.0.5-py3-none-any.whl
(19.0 kB
view details)
File details
Details for the file dope3-2.0.5.tar.gz
.
File metadata
- Download URL: dope3-2.0.5.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06a4a77ef37a3960ab8f05017eeb5af2f58513cf3491b1706e58b90a7efedb75 |
|
MD5 | c4d4eed21144ac8baaea20cdbb9fc1f5 |
|
BLAKE2b-256 | f814aca1b6931393730daf9d63a5b1643a5eec617c881c6c6f6375fc7053e5af |
File details
Details for the file dope3-2.0.5-py3-none-any.whl
.
File metadata
- Download URL: dope3-2.0.5-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6e0ff99ff48f5d4e99685934db882ca0e3e7ed9bb2baf97fa368e344aae1c3d |
|
MD5 | c49020ac6bdcdcfc4403b8c1d50e7763 |
|
BLAKE2b-256 | dd940730d130dae524e2a8f8a3280d7546892290101e81ab4ae16c680f88d85a |