rust-x3dh


Namerust-x3dh JSON
Version 0.1.3 PyPI version JSON
download
home_pageNone
SummaryEmbeded the xxxdh, which iplementation of the Extended Triple Diffie-Hellman key exchange protocol written in Rust, on Python. xxxdh is written by Olexander Yermakov.
upload_time2024-03-02 16:45:48
maintainerNone
docs_urlNone
authorKlaus Wong <wch.klaus@gmail.com>
requires_python>=3.9
licenseMIT
keywords crypto cryptography x3dh
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Rust-X3DH

Embeded the [xxxdh](https://github.com/alexyer/xxxdh/tree/master), which iplementation of the Extended Triple Diffie-Hellman key exchange protocol written in Rust, on Python. [xxxdh](https://github.com/alexyer/xxxdh/tree/master) is written by [Olexander Yermakov](https://github.com/alexyer).

Implementation is close to the [Signal Spec](https://signal.org/docs/specifications/x3dh/), but Ristretto point Curve25519 used as a *curve* for the default implementation. Though underlying algorithms could be changed fairly easily.

## Usage

```python
//! 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}")
```


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "rust-x3dh",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "crypto,cryptography,x3dh",
    "author": "Klaus Wong <wch.klaus@gmail.com>",
    "author_email": "Klaus Wong <wch.klaus@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/eb/9e/0bf4dd2436d21f33497ffa0b77c857ec6e4dcb33839a986a636ce9eed1fd/rust_x3dh-0.1.3.tar.gz",
    "platform": null,
    "description": "# Rust-X3DH\n\nEmbeded the [xxxdh](https://github.com/alexyer/xxxdh/tree/master), which iplementation of the Extended Triple Diffie-Hellman key exchange protocol written in Rust, on Python. [xxxdh](https://github.com/alexyer/xxxdh/tree/master) is written by [Olexander Yermakov](https://github.com/alexyer).\n\nImplementation is close to the [Signal Spec](https://signal.org/docs/specifications/x3dh/), but Ristretto point Curve25519 used as a *curve* for the default implementation. Though underlying algorithms could be changed fairly easily.\n\n## Usage\n\n```python\n//! Basic example.\n\nfrom rust_x3dh import x3dh_ser\n\nu1_shared_secret_key, u2_shared_secret_key = x3dh_ser.gen_3xdh_secrets_key_pairs()\n\nprint(f\"[u1_shared_secret_key]:{u1_shared_secret_key}\")\nprint(f\"[u2_shared_secret_key]:{u2_shared_secret_key}\")\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "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.",
    "version": "0.1.3",
    "project_urls": {
        "Homepage": "https://github.com/hkk97/rust_x3dh"
    },
    "split_keywords": [
        "crypto",
        "cryptography",
        "x3dh"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "75e8a81344b38aacdde10733dec3e4538fa15f180aacddee6f22fce6f92fa220",
                "md5": "b5504f0e1897aba59470843f60344a5b",
                "sha256": "0bfe93fab8e19491e6f41918ec920b6a8a0e449c30953741a4e25879f5d62a9b"
            },
            "downloads": -1,
            "filename": "rust_x3dh-0.1.3-cp37-abi3-macosx_10_12_x86_64.whl",
            "has_sig": false,
            "md5_digest": "b5504f0e1897aba59470843f60344a5b",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.9",
            "size": 303429,
            "upload_time": "2024-03-02T16:45:39",
            "upload_time_iso_8601": "2024-03-02T16:45:39.144012Z",
            "url": "https://files.pythonhosted.org/packages/75/e8/a81344b38aacdde10733dec3e4538fa15f180aacddee6f22fce6f92fa220/rust_x3dh-0.1.3-cp37-abi3-macosx_10_12_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "846618b983cd4bcb3bd01ddf628c614196b44e535c117e7521352fd1878f39e1",
                "md5": "3a818634f8f80e95e3e345d399640d24",
                "sha256": "76fb89296fdffcd9522aaa23902193d656f90368b01fe7f581cb85ece1f56f4a"
            },
            "downloads": -1,
            "filename": "rust_x3dh-0.1.3-cp37-abi3-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "3a818634f8f80e95e3e345d399640d24",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.9",
            "size": 292153,
            "upload_time": "2024-03-02T16:45:40",
            "upload_time_iso_8601": "2024-03-02T16:45:40.900788Z",
            "url": "https://files.pythonhosted.org/packages/84/66/18b983cd4bcb3bd01ddf628c614196b44e535c117e7521352fd1878f39e1/rust_x3dh-0.1.3-cp37-abi3-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "57848a555241131223f63e7815c7f1a9f13940cf4aca8fe418ef0bd4015f5f53",
                "md5": "e4c4ed5649228e78f5e950fa465bd433",
                "sha256": "33083fcfd92c2efdc19164cd3228ed5740d53ef2df103f14c763766cb4c753af"
            },
            "downloads": -1,
            "filename": "rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_aarch64.whl",
            "has_sig": false,
            "md5_digest": "e4c4ed5649228e78f5e950fa465bd433",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.9",
            "size": 452818,
            "upload_time": "2024-03-02T16:45:42",
            "upload_time_iso_8601": "2024-03-02T16:45:42.676455Z",
            "url": "https://files.pythonhosted.org/packages/57/84/8a555241131223f63e7815c7f1a9f13940cf4aca8fe418ef0bd4015f5f53/rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "53dbb5fa5c9aac741e02b58d988108b7d70c8624b52a22f4893bfcb33dddfdac",
                "md5": "66960845f68ff7f41dbb250b1ea36847",
                "sha256": "394941b027e792db2b6daaae0b664130e3a705da568fc49789235956895f690e"
            },
            "downloads": -1,
            "filename": "rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_x86_64.whl",
            "has_sig": false,
            "md5_digest": "66960845f68ff7f41dbb250b1ea36847",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.9",
            "size": 452408,
            "upload_time": "2024-03-02T16:45:43",
            "upload_time_iso_8601": "2024-03-02T16:45:43.838804Z",
            "url": "https://files.pythonhosted.org/packages/53/db/b5fa5c9aac741e02b58d988108b7d70c8624b52a22f4893bfcb33dddfdac/rust_x3dh-0.1.3-cp37-abi3-musllinux_1_2_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c0145db9f4630c84ddecdfe31ca0df59a26ecdd2aafafe403c65a9e705e971dd",
                "md5": "d461264e94f0b7e552281ba341c05a97",
                "sha256": "52ae47ba753201b788f1f68edb3d2be08daeaf15c8ae0ad1b714f59d4fb089db"
            },
            "downloads": -1,
            "filename": "rust_x3dh-0.1.3-cp37-abi3-win32.whl",
            "has_sig": false,
            "md5_digest": "d461264e94f0b7e552281ba341c05a97",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.9",
            "size": 223133,
            "upload_time": "2024-03-02T16:45:45",
            "upload_time_iso_8601": "2024-03-02T16:45:45.578737Z",
            "url": "https://files.pythonhosted.org/packages/c0/14/5db9f4630c84ddecdfe31ca0df59a26ecdd2aafafe403c65a9e705e971dd/rust_x3dh-0.1.3-cp37-abi3-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "29b6edda35f05b92e2e3771e2344d9b86f962915366fdce5b7d6f901f87baa53",
                "md5": "35b95f192e79dc97b4d0d5fcf5e003f1",
                "sha256": "78089a8edf7b6abb5ffc6a266d339b26858e11f8c1769edfde18b081e237aad8"
            },
            "downloads": -1,
            "filename": "rust_x3dh-0.1.3-cp37-abi3-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "35b95f192e79dc97b4d0d5fcf5e003f1",
            "packagetype": "bdist_wheel",
            "python_version": "cp37",
            "requires_python": ">=3.9",
            "size": 199479,
            "upload_time": "2024-03-02T16:45:46",
            "upload_time_iso_8601": "2024-03-02T16:45:46.732760Z",
            "url": "https://files.pythonhosted.org/packages/29/b6/edda35f05b92e2e3771e2344d9b86f962915366fdce5b7d6f901f87baa53/rust_x3dh-0.1.3-cp37-abi3-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "eb9e0bf4dd2436d21f33497ffa0b77c857ec6e4dcb33839a986a636ce9eed1fd",
                "md5": "9f88cf28a7f0f8169ba59413aecb8fc8",
                "sha256": "07605d611106800692379a284e800654b7093d0f8bbc62e711e222f9859b453f"
            },
            "downloads": -1,
            "filename": "rust_x3dh-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "9f88cf28a7f0f8169ba59413aecb8fc8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 13479,
            "upload_time": "2024-03-02T16:45:48",
            "upload_time_iso_8601": "2024-03-02T16:45:48.272180Z",
            "url": "https://files.pythonhosted.org/packages/eb/9e/0bf4dd2436d21f33497ffa0b77c857ec6e4dcb33839a986a636ce9eed1fd/rust_x3dh-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-02 16:45:48",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hkk97",
    "github_project": "rust_x3dh",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "rust-x3dh"
}
        
Elapsed time: 0.41451s