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}")
Metadata
Release files for rust-x3dh 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rust_x3dh-0.1.3.tar.gz | 13.5 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| rust_x3dh-0.1.3-cp37-abi3-win_amd64.whl | CPython 3.7 | abi3 | Windows x86-64 | Details |
| rust_x3dh-0.1.3-cp37-abi3-win32.whl | CPython 3.7 | abi3 | Windows x86-32 | Details |
| rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_x86_64.whl | CPython 3.7 | abi3 | Linux musl 1.2+ x86-64 | Details |
| rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_aarch64.whl | CPython 3.7 | abi3 | Linux musl 1.2+ ARM64 | Details |
| rust_x3dh-0.1.3-cp37-abi3-macosx_11_0_arm64.whl | CPython 3.7 | abi3 | macOS 11.0+ ARM64 | Details |
| rust_x3dh-0.1.3-cp37-abi3-macosx_10_12_x86_64.whl | CPython 3.7 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 1.9 MB
Release files / rust_x3dh-0.1.3.tar.gz
| Download URL | rust_x3dh-0.1.3.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07605d611106800692379a284e800654b7093d0f8bbc62e711e222f9859b453f
|
|
BLAKE2b-256 checksum How to use checksums |
eb9e0bf4dd2436d21f33497ffa0b77c857ec6e4dcb33839a986a636ce9eed1fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.4.0
|
Release files / rust_x3dh-0.1.3-cp37-abi3-win_amd64.whl
| Download URL | rust_x3dh-0.1.3-cp37-abi3-win_amd64.whl |
|---|---|
| Size | 199.5 kB |
| Tags | CPython 3.7 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
78089a8edf7b6abb5ffc6a266d339b26858e11f8c1769edfde18b081e237aad8
|
|
BLAKE2b-256 checksum How to use checksums |
29b6edda35f05b92e2e3771e2344d9b86f962915366fdce5b7d6f901f87baa53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.4.0
|
Release files / rust_x3dh-0.1.3-cp37-abi3-win32.whl
| Download URL | rust_x3dh-0.1.3-cp37-abi3-win32.whl |
|---|---|
| Size | 223.1 kB |
| Tags | CPython 3.7 Windows x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
52ae47ba753201b788f1f68edb3d2be08daeaf15c8ae0ad1b714f59d4fb089db
|
|
BLAKE2b-256 checksum How to use checksums |
c0145db9f4630c84ddecdfe31ca0df59a26ecdd2aafafe403c65a9e705e971dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.4.0
|
Release files / rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_x86_64.whl
| Download URL | rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 452.4 kB |
| Tags | CPython 3.7 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
394941b027e792db2b6daaae0b664130e3a705da568fc49789235956895f690e
|
|
BLAKE2b-256 checksum How to use checksums |
53dbb5fa5c9aac741e02b58d988108b7d70c8624b52a22f4893bfcb33dddfdac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.4.0
|
Release files / rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_aarch64.whl
| Download URL | rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 452.8 kB |
| Tags | CPython 3.7 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
33083fcfd92c2efdc19164cd3228ed5740d53ef2df103f14c763766cb4c753af
|
|
BLAKE2b-256 checksum How to use checksums |
57848a555241131223f63e7815c7f1a9f13940cf4aca8fe418ef0bd4015f5f53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.4.0
|
Release files / rust_x3dh-0.1.3-cp37-abi3-macosx_11_0_arm64.whl
| Download URL | rust_x3dh-0.1.3-cp37-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 292.2 kB |
| Tags | CPython 3.7 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
76fb89296fdffcd9522aaa23902193d656f90368b01fe7f581cb85ece1f56f4a
|
|
BLAKE2b-256 checksum How to use checksums |
846618b983cd4bcb3bd01ddf628c614196b44e535c117e7521352fd1878f39e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.4.0
|
Release files / rust_x3dh-0.1.3-cp37-abi3-macosx_10_12_x86_64.whl
| Download URL | rust_x3dh-0.1.3-cp37-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 303.4 kB |
| Tags | CPython 3.7 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
0bfe93fab8e19491e6f41918ec920b6a8a0e449c30953741a4e25879f5d62a9b
|
|
BLAKE2b-256 checksum How to use checksums |
75e8a81344b38aacdde10733dec3e4538fa15f180aacddee6f22fce6f92fa220
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.4.0
|