{"id":25810149,"url":"https://github.com/kazuakiishiguro/diffie-hellman","last_synced_at":"2026-06-09T02:32:14.935Z","repository":{"id":114825256,"uuid":"283371118","full_name":"kazuakiishiguro/diffie-hellman","owner":"kazuakiishiguro","description":"This is a toy sample of how DH key exchange works","archived":false,"fork":false,"pushed_at":"2020-09-15T05:12:14.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-25T11:45:46.127Z","etag":null,"topics":["diffie-hellman","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kazuakiishiguro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-29T01:49:25.000Z","updated_at":"2020-09-15T05:12:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"0ac51e2c-fa7e-49f5-aafa-4a824d2a66e2","html_url":"https://github.com/kazuakiishiguro/diffie-hellman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kazuakiishiguro/diffie-hellman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazuakiishiguro%2Fdiffie-hellman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazuakiishiguro%2Fdiffie-hellman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazuakiishiguro%2Fdiffie-hellman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazuakiishiguro%2Fdiffie-hellman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kazuakiishiguro","download_url":"https://codeload.github.com/kazuakiishiguro/diffie-hellman/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kazuakiishiguro%2Fdiffie-hellman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34089327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diffie-hellman","rust"],"created_at":"2025-02-27T23:36:21.530Z","updated_at":"2026-06-09T02:32:14.931Z","avatar_url":"https://github.com/kazuakiishiguro.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Diffie Hellman\n\nA portable DH key exchange toy-example.\n\n:warning: **WARNING**: This library has not been audited, so please do not use for production code.\n\n## Example\n\n```rust\nuse diffie_hellman::{private_key, public_key, secret};\n\nlet p: u64 = 11;\n\n// Assume Alice wants to share secret with Bob\nlet priv_a: u64 = 7; // Alice's private key\nlet pub_b: u64 = 8; // Bob's public key\n\n// Share secret\nlet secret = secret(p, pub_a, prib_b);\nlet expected: u64 = 2;\nassert_eq!(secret, expected);\n```\n\n## License\n\nLicense under\n\n* [MIT license](http://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuakiishiguro%2Fdiffie-hellman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkazuakiishiguro%2Fdiffie-hellman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuakiishiguro%2Fdiffie-hellman/lists"}