{"id":19224119,"url":"https://github.com/pedroalbanese/vko","last_synced_at":"2026-06-22T14:31:29.734Z","repository":{"id":54466322,"uuid":"435650146","full_name":"pedroalbanese/vko","owner":"pedroalbanese","description":"GOST R 34.10-2012 Key Agreement Function (RFC 7836)","archived":false,"fork":false,"pushed_at":"2023-05-04T22:51:36.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T10:15:22.396Z","etag":null,"topics":["diffie-hellman","gost3410","gost3410-2012"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pedroalbanese.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-06T21:16:40.000Z","updated_at":"2023-10-31T15:04:13.000Z","dependencies_parsed_at":"2024-06-21T02:07:49.558Z","dependency_job_id":"2fb9128d-b58a-497e-a423-ca3e9ed548eb","html_url":"https://github.com/pedroalbanese/vko","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pedroalbanese/vko","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroalbanese%2Fvko","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroalbanese%2Fvko/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroalbanese%2Fvko/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroalbanese%2Fvko/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedroalbanese","download_url":"https://codeload.github.com/pedroalbanese/vko/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedroalbanese%2Fvko/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34653712,"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-22T02:00:06.391Z","response_time":106,"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","gost3410","gost3410-2012"],"created_at":"2024-11-09T15:10:38.029Z","updated_at":"2026-06-22T14:31:29.717Z","avatar_url":"https://github.com/pedroalbanese.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VKO \n[![ISC License](http://img.shields.io/badge/license-ISC-blue.svg)](https://github.com/pedroalbanese/vko/blob/master/LICENSE.md) \n[![GitHub downloads](https://img.shields.io/github/downloads/pedroalbanese/vko/total.svg?logo=github\u0026logoColor=white)](https://github.com/pedroalbanese/vko/releases)\n[![GoDoc](https://godoc.org/github.com/pedroalbanese/vko?status.png)](http://godoc.org/github.com/pedroalbanese/vko)\n[![Go Report Card](https://goreportcard.com/badge/github.com/pedroalbanese/vko)](https://goreportcard.com/report/github.com/pedroalbanese/vko)\n[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/pedroalbanese/vko)](https://golang.org)\n[![GitHub release (latest by date)](https://img.shields.io/github/v/release/pedroalbanese/vko)](https://github.com/pedroalbanese/vko/releases)\n\n### GOST R 34.10-2012 VKO (выработка ключа общего)\nVKO is an elliptic curve Diffie-Hellman key agreement function using GOST R 34.10-2012. It allows two parties to jointly agree on a shared secret using an insecure channel.\n\n```\n            Alice                            Bob\n            -----                            ---\n      choose private key:             choose private key:\n             d_A                             d_B\n              |                               |\n              v                               v\n      compute public key:             compute public key:\n    Q_A = d_A * BasePoint_TE        Q_B = d_B * BasePoint_TE\n              |                               |\n              v                               v\n          ------- Begin Key Exchange Phase -------\n              |                               |\n              v                               v\n     compute shared secret:          compute shared secret:\nS_A = d_A * Q_B + d_A * BasePoint S_B = d_B * Q_A + d_B * BasePoint\n              |                               |\n              v                               v\n          -------- End Key Exchange Phase --------\n              |                               |\n              v                               v\n            (S_A)                           (S_B)\n ``` \n     \n### Command-line VKO Tool:\n\u003cpre\u003eUsage of vko:\n  -key string\n        Our private key.\n  -keygen\n        Generate keypair.\n  -paramset string\n        ParamSet: A, B, C or D. (default \"A\")\n  -pub string\n        Remote's side public key.\u003c/pre\u003e\n\n### Examples:\n```sh\n./vko -keygen // 2x\n./vko -key $2ndprivatekey -pub $1stpublickey\n./vko -key $1stprivatekey -pub $2ndpublickey\n```\n## License\nThis project is licensed under the ISC License.\n##### Copyright (c) 2020-2021 Pedro Albanese - ALBANESE Research Lab.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedroalbanese%2Fvko","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedroalbanese%2Fvko","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedroalbanese%2Fvko/lists"}