Coder Social home page Coder Social logo

viveklucky2022 / mlkpwgen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mkropat/mlkpwgen

0.0 0.0 0.0 436 KB

Secure random password generator for .NET and PowerShell

Home Page: https://www.codetinkerer.com/MlkPwgen/.net/html/4af4c04a-d525-8e81-133e-679872b3984f.htm

License: MIT License

C# 68.85% PowerShell 30.29% Batchfile 0.86%

mlkpwgen's Introduction

MlkPwgen

Secure random password generator for .NET and PowerShell

NuGet

Benefits at a glance:

.NET

The library is available from NuGet:

Install-Package MlkPwgen

Import the namespace:

using MlkPwgen;

Then calling the library is as simple as:

Console.WriteLine(PasswordGenerator.Generate());

Check out the API Documentation for full details.

PowerShell

Installation

With PowerShell >5, installation is as simple as:

Install-Module MlkPwgen

Usage

Generate a handful of passwords:

PS > 1..5 | foreach { New-Password }
xVs7tYANfs
FGQ4hF29Oe
QHffH4QRUE
ai1AaBqSMe
Dd7cnAG8a8

Generate letters only:

PS > New-Password -Lower -Upper
HccNubILPl

Digits only:

PS > New-Password -Digits -Length 6
470114

All together now, with symbols:

PS > New-Password -Lower -Upper -Digits -Symbols
y3iF(g(xUw

Generate pronounceable passwords:

PS > 1..5 | foreach { New-PronounceablePassword }
NaternNeam
LumLictles
StZattlate
InfeHascal
Tighampers

Pronounceable passwords can have digits and symbols too:

PS > New-PronounceablePassword -Digits -Symbols
^Norompog2

Pronounceable Password Algorithm

Credit for the algorithm used to generate pronounceable password goes to Tom Van Vleck. I've made a few changes along the way:

  • The algorithm has been modified to take into account word endings
  • The data tables have been generated from a new source
  • I added the ability to mix in random character sets (such as digits and symbols) into the generated password

mlkpwgen's People

Contributors

mkropat avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.