{"id":19461696,"url":"https://github.com/plasmapower/nano-key-exchange","last_synced_at":"2025-06-30T12:37:08.552Z","repository":{"id":74955957,"uuid":"266038234","full_name":"PlasmaPower/nano-key-exchange","owner":"PlasmaPower","description":"Performs a key exchange with nano keys, which produces a shared key that only the two participants will know.","archived":false,"fork":false,"pushed_at":"2020-05-22T07:15:22.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T12:48:18.856Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PlasmaPower.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-05-22T06:43:02.000Z","updated_at":"2021-06-29T20:15:27.000Z","dependencies_parsed_at":"2024-01-31T05:02:17.563Z","dependency_job_id":null,"html_url":"https://github.com/PlasmaPower/nano-key-exchange","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PlasmaPower/nano-key-exchange","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlasmaPower%2Fnano-key-exchange","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlasmaPower%2Fnano-key-exchange/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlasmaPower%2Fnano-key-exchange/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlasmaPower%2Fnano-key-exchange/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PlasmaPower","download_url":"https://codeload.github.com/PlasmaPower/nano-key-exchange/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PlasmaPower%2Fnano-key-exchange/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262774801,"owners_count":23362383,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-10T17:43:21.398Z","updated_at":"2025-06-30T12:37:08.521Z","avatar_url":"https://github.com/PlasmaPower.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nano-key-exchange\n\nPerforms a key exchange with nano keys, which produces a shared key that only\nthe two participants will know.\n\nContains one function, `nano_get_shared_key`, which takes 3 arguments:\n- A constant pointer to the 32 byte private key (not a seed, not expanded)\n- A constant pointer to the 32 byte public key of the other party\n- A mutable pointer to a 32 byte output buffer for the shared key\n\nIt returns a uint8_t which is currently either 0, indicating success, or 1,\nindicating a bad public key. On failure, the output buffer isn't modified.\n\n```c\nuint8_t nano_get_shared_key(\n    const uint8_t * secret_key,\n    const uint8_t * other_public_key,\n    uint8_t * shared_key_out\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplasmapower%2Fnano-key-exchange","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplasmapower%2Fnano-key-exchange","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplasmapower%2Fnano-key-exchange/lists"}