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-3.1.0.tar.gz
(19.6 kB
view details)
Built Distribution
dope3-3.1.0-py3-none-any.whl
(19.3 kB
view details)
File details
Details for the file dope3-3.1.0.tar.gz
.
File metadata
- Download URL: dope3-3.1.0.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.2 Linux/5.10.0-kali8-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ab4e17735fe751fe6ddb551b48808bbe23cd6a8636c1bca07d6e1e1b1587a37 |
|
MD5 | 63e0eaa8be3ec0b237dbd200b43f66cd |
|
BLAKE2b-256 | 1ef92c7421bda1ebcb4368b7d8391575deeb024d2d2dadbee94dae5a24478178 |
File details
Details for the file dope3-3.1.0-py3-none-any.whl
.
File metadata
- Download URL: dope3-3.1.0-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.6 CPython/3.9.2 Linux/5.10.0-kali8-amd64
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 822da5b1e22bccf34c3b9f4bb7754cfeb9ec750665260aff93bec12e8a45a554 |
|
MD5 | b63da542732c1c82a091f48ef227a400 |
|
BLAKE2b-256 | 0a2ac607017530ebd06c7718e21064fa2d791bcdd251cf72977a333a3ca36a24 |