{"id":23089628,"url":"https://github.com/vanhakobyan/rngcryptoservicepassgen","last_synced_at":"2025-06-13T15:40:43.770Z","repository":{"id":82819245,"uuid":"78558971","full_name":"VanHakobyan/RNGCryptoServicePassGen","owner":"VanHakobyan","description":":barber:RNGCryptoService:barber: password generator:barber:","archived":false,"fork":false,"pushed_at":"2017-01-30T19:01:11.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-09T06:13:46.677Z","etag":null,"topics":["cryptography","password","password-generator","rng","service"],"latest_commit_sha":null,"homepage":"","language":"C#","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/VanHakobyan.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":"2017-01-10T17:55:38.000Z","updated_at":"2017-05-23T07:02:25.000Z","dependencies_parsed_at":"2023-04-03T13:04:02.501Z","dependency_job_id":null,"html_url":"https://github.com/VanHakobyan/RNGCryptoServicePassGen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VanHakobyan%2FRNGCryptoServicePassGen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VanHakobyan%2FRNGCryptoServicePassGen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VanHakobyan%2FRNGCryptoServicePassGen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VanHakobyan%2FRNGCryptoServicePassGen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VanHakobyan","download_url":"https://codeload.github.com/VanHakobyan/RNGCryptoServicePassGen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247044600,"owners_count":20874340,"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":["cryptography","password","password-generator","rng","service"],"created_at":"2024-12-16T20:38:54.698Z","updated_at":"2025-04-03T17:25:24.310Z","avatar_url":"https://github.com/VanHakobyan.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RNGCryptoService password generator\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://i.gyazo.com/01515f43a2b33f5f6fbef3fdcfa6cd74.png\"\u003e\n\u003c/p\u003e\n\nExample. The most useful method on RNGCryptoServiceProvider is the GetBytes method. And because this type implements Dispose, you can enclose it in a using-statement. We fill a four-byte array with GetBytes ten times.\n\n```C#\n\nusing System;\nusing System.Security.Cryptography;\n\nclass Program\n{\n    static void Main()\n    {\n        using (RNGCryptoServiceProvider rng = new RNGCryptoServiceProvider())\n        {\n            // Buffer storage.\n            byte[] data = new byte[4];\n\n            // Ten iterations.\n            for (int i = 0; i \u003c 10; i++)\n            {\n                // Fill buffer.\n                rng.GetBytes(data);\n\n                // Convert to int 32.\n                int value = BitConverter.ToInt32(data, 0);\n                Console.WriteLine(value);\n            }\n        }\n    }\n}\n\n```\n\n### The library consists of\n\n```c#\n\npublic enum optionPass\n {\n       pasSize,\n       pasUpperOnly,\n       pasSmallOnly,\n       pasDigitOnly,\n       pasDigitUpperSmall\n\n}\n...\n...\n...\npublic Password(optionPass passOpt, int length)\n{\n      getPassword = NewPassword(passOpt, length).ToString();\n}\n\n```\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanhakobyan%2Frngcryptoservicepassgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvanhakobyan%2Frngcryptoservicepassgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvanhakobyan%2Frngcryptoservicepassgen/lists"}