{"id":15823874,"url":"https://github.com/stefh/longguid","last_synced_at":"2025-04-01T08:23:14.351Z","repository":{"id":144143071,"uuid":"122825432","full_name":"StefH/LongGuid","owner":"StefH","description":"A LongGuid solution with 512 bits per identifier as opposed to the default 128 bits. ","archived":false,"fork":false,"pushed_at":"2018-02-26T18:33:40.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-19T14:28:49.827Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/StefH.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,"governance":null}},"created_at":"2018-02-25T10:22:19.000Z","updated_at":"2018-02-26T18:31:33.000Z","dependencies_parsed_at":"2023-09-24T07:17:27.923Z","dependency_job_id":null,"html_url":"https://github.com/StefH/LongGuid","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"ae7455b193e817f5d0b2b60fb3dc4a3af6e82fb1"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefH%2FLongGuid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefH%2FLongGuid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefH%2FLongGuid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StefH%2FLongGuid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StefH","download_url":"https://codeload.github.com/StefH/LongGuid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246605120,"owners_count":20804178,"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-10-05T08:23:58.014Z","updated_at":"2025-04-01T08:23:14.320Z","avatar_url":"https://github.com/StefH.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LongGuid\nA LongGuid solution with 512 bits per identifier as opposed to the default 128 bits.\n\n## NuGet\n[![NuGet Badge](https://buildstats.info/nuget/LongGuid)](https://www.nuget.org/packages/LongGuid)\n\n## Code Example\n\nUsage is the same as a normal `Guid`.\n\n``` csharp\n// create new LongGuid\nvar longGuid = LongGuid.NewLongGuid();\n\n\n// Create from 4 normal Guids\nvar guid1 = Guid.Parse(\"10000000-0000-0000-0000-000000000001\");\nvar guid2 = Guid.Parse(\"20000000-0000-0000-0000-000000000002\");\nvar guid3 = Guid.Parse(\"30000000-0000-0000-0000-000000000003\");\nvar guid4 = Guid.Parse(\"40000000-0000-0000-0000-000000000004\");\n\nvar longGuid = new LongGuid(guid1, guid2, guid3, guid4);\n\n\n// convert to byte[]\nbyte[] bytes = longGuid.ToByteArray();\n\n\n// new from byte[]\nbyte[] bytes = ...\nvar longGuid = new LongGuid(bytes);\n\n\n// new from string\nstring str = \"10000000-0000-0000-0000-000000000001-20000000-0000-0000-0000-000000000002-30000000-0000-0000-0000-000000000003-40000000-0000-0000-0000-000000000004\";\nvar longGuid = new LongGuid(str);\n\n\n// parse from string\nvar longGuid = LongGuid.Parse(\"...\")\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefh%2Flongguid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefh%2Flongguid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefh%2Flongguid/lists"}