Embeded the xxxdh, which iplementation of the Extended Triple Diffie-Hellman key exchange protocol written in Rust, on Python. xxxdh is written by Olexander Yermakov.
Project description
Rust-X3DH
Embeded the xxxdh, which iplementation of the Extended Triple Diffie-Hellman key exchange protocol written in Rust, on Python. xxxdh is written by Olexander Yermakov.
Implementation is close to the Signal Spec, but Ristretto point Curve25519 used as a curve for the default implementation. Though underlying algorithms could be changed fairly easily.
Usage
//! Basic example.
from rust_x3dh import x3dh_ser
u1_shared_secret_key, u2_shared_secret_key = x3dh_ser.gen_3xdh_secrets_key_pairs()
print(f"[u1_shared_secret_key]:{u1_shared_secret_key}")
print(f"[u2_shared_secret_key]:{u2_shared_secret_key}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rust_x3dh-0.1.3.tar.gz.
File metadata
- Download URL: rust_x3dh-0.1.3.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07605d611106800692379a284e800654b7093d0f8bbc62e711e222f9859b453f
|
|
| MD5 |
9f88cf28a7f0f8169ba59413aecb8fc8
|
|
| BLAKE2b-256 |
eb9e0bf4dd2436d21f33497ffa0b77c857ec6e4dcb33839a986a636ce9eed1fd
|
File details
Details for the file rust_x3dh-0.1.3-cp37-abi3-win_amd64.whl.
File metadata
- Download URL: rust_x3dh-0.1.3-cp37-abi3-win_amd64.whl
- Upload date:
- Size: 199.5 kB
- Tags: CPython 3.7+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78089a8edf7b6abb5ffc6a266d339b26858e11f8c1769edfde18b081e237aad8
|
|
| MD5 |
35b95f192e79dc97b4d0d5fcf5e003f1
|
|
| BLAKE2b-256 |
29b6edda35f05b92e2e3771e2344d9b86f962915366fdce5b7d6f901f87baa53
|
File details
Details for the file rust_x3dh-0.1.3-cp37-abi3-win32.whl.
File metadata
- Download URL: rust_x3dh-0.1.3-cp37-abi3-win32.whl
- Upload date:
- Size: 223.1 kB
- Tags: CPython 3.7+, Windows x86
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
52ae47ba753201b788f1f68edb3d2be08daeaf15c8ae0ad1b714f59d4fb089db
|
|
| MD5 |
d461264e94f0b7e552281ba341c05a97
|
|
| BLAKE2b-256 |
c0145db9f4630c84ddecdfe31ca0df59a26ecdd2aafafe403c65a9e705e971dd
|
File details
Details for the file rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 452.4 kB
- Tags: CPython 3.7+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
394941b027e792db2b6daaae0b664130e3a705da568fc49789235956895f690e
|
|
| MD5 |
66960845f68ff7f41dbb250b1ea36847
|
|
| BLAKE2b-256 |
53dbb5fa5c9aac741e02b58d988108b7d70c8624b52a22f4893bfcb33dddfdac
|
File details
Details for the file rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 452.8 kB
- Tags: CPython 3.7+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33083fcfd92c2efdc19164cd3228ed5740d53ef2df103f14c763766cb4c753af
|
|
| MD5 |
e4c4ed5649228e78f5e950fa465bd433
|
|
| BLAKE2b-256 |
57848a555241131223f63e7815c7f1a9f13940cf4aca8fe418ef0bd4015f5f53
|
File details
Details for the file rust_x3dh-0.1.3-cp37-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: rust_x3dh-0.1.3-cp37-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 292.2 kB
- Tags: CPython 3.7+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76fb89296fdffcd9522aaa23902193d656f90368b01fe7f581cb85ece1f56f4a
|
|
| MD5 |
3a818634f8f80e95e3e345d399640d24
|
|
| BLAKE2b-256 |
846618b983cd4bcb3bd01ddf628c614196b44e535c117e7521352fd1878f39e1
|
File details
Details for the file rust_x3dh-0.1.3-cp37-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: rust_x3dh-0.1.3-cp37-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 303.4 kB
- Tags: CPython 3.7+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bfe93fab8e19491e6f41918ec920b6a8a0e449c30953741a4e25879f5d62a9b
|
|
| MD5 |
b5504f0e1897aba59470843f60344a5b
|
|
| BLAKE2b-256 |
75e8a81344b38aacdde10733dec3e4538fa15f180aacddee6f22fce6f92fa220
|