{"id":26777238,"url":"https://github.com/timothymeadows/curve25519.netcore","last_synced_at":"2025-04-16T03:48:09.603Z","repository":{"id":48112981,"uuid":"291172489","full_name":"TimothyMeadows/Curve25519.NetCore","owner":"TimothyMeadows","description":"An elliptic curve offering 128 bits of security and designed for use with the elliptic curve Diffie–Hellman (ECDH) key agreement scheme.","archived":false,"fork":false,"pushed_at":"2022-07-21T21:54:33.000Z","size":31,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T04:49:13.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","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/TimothyMeadows.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-29T00:35:49.000Z","updated_at":"2022-07-21T21:54:36.000Z","dependencies_parsed_at":"2022-08-12T18:50:40.782Z","dependency_job_id":null,"html_url":"https://github.com/TimothyMeadows/Curve25519.NetCore","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyMeadows%2FCurve25519.NetCore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyMeadows%2FCurve25519.NetCore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyMeadows%2FCurve25519.NetCore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimothyMeadows%2FCurve25519.NetCore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimothyMeadows","download_url":"https://codeload.github.com/TimothyMeadows/Curve25519.NetCore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249192406,"owners_count":21227779,"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":"2025-03-29T04:49:17.257Z","updated_at":"2025-04-16T03:48:09.588Z","avatar_url":"https://github.com/TimothyMeadows.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Curve25519.NetCore\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![nuget](https://img.shields.io/nuget/v/Curve25519.NetCore.svg)](https://www.nuget.org/packages/Curve25519.NetCore/)\n\nAn elliptic curve offering 128 bits of security and designed for use with the elliptic curve Diffie–Hellman (ECDH) key agreement scheme. It is one of the fastest ECC curves and is not covered by any known patents. Depends on [SecureRandom.NetCore](https://github.com/TimothyMeadows/SecureRandom.NetCore)\n\n# Install\n\nFrom a command prompt\n```bash\ndotnet add package Curve25519.NetCore\n```\n\n```bash\nInstall-Package Curve25519.NetCore\n```\n\nYou can also search for package via your nuget ui / website:\n\nhttps://www.nuget.org/packages/Curve25519.NetCore/\n\n# Examples\n\nYou can find more examples in the github examples project.\n\n```csharp\nvar curve25519 = new Curve25519();\nvar alicePrivate = curve25519.CreateRandomPrivateKey();\nvar alicePublic = curve25519.GetPublicKey(alicePrivate);\n\nvar bobPrivate = curve25519.CreateRandomPrivateKey();\nvar bobPublic = curve25519.GetPublicKey(bobPrivate);\n\nvar aliceShared = curve25519.GetSharedSecret(alicePrivate, bobPublic);\nvar bobShared = curve25519.GetSharedSecret(bobPrivate, alicePublic);\nvar equal = aliceShared.SequenceEqual(bobShared);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothymeadows%2Fcurve25519.netcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimothymeadows%2Fcurve25519.netcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimothymeadows%2Fcurve25519.netcore/lists"}