Skip to content

shuuryou/sharppwgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

First Theodore Ts'o once wrote it in C.

Then Kazuyoshi Kato ported it to JavaScript some time ago.

One day I needed it in C# and well, here we are.

How to use:

using pwgen;
using System;

namespace test
{
    class Program
    {
        static void Main(string[] args)
        {
            // example: Erie5zet
            Console.WriteLine(SharpPwgen.Generate());

            // example: uhai1Jahngizaeto
            Console.WriteLine(SharpPwgen.Generate(16));

            // example: caigophi
            Console.WriteLine(SharpPwgen.Generate(8, false, false));
        }
    }
}

Enjoy.

Releases

No releases published

Packages

No packages published

Languages