Skip to content

goavega-software/passwordgenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Password Generator

This library generates easy to remember (one time) 8 character long passwords. It does so by making up passwords with a mix of consonants and vowels pair and then appending random digits in the end.

The password gen has few options that can be passed to it:

  • LeetMode - replaces the first vowel with its 1337 equivalent
  • AppendSymbol - adds a symbol in the end (making the generated password 9 chars long)

What it doesn't do

  • Generate cryptographically strong random passwords
  • Toast bread

Demo

Sample Passwords Generated

j3doco67$
f3lole11$
x1rayi18#
f0qese46@
bepeha05
xirayi18#

Usage

package main

import "fmt"
import "./passwordgen"

func main() {
	num := 0
	request := new(passwordgen.GenerateRequest)
	request.LeetMode = true
	for num < 8 {
		fmt.Println(passwordgen.Generate(*request))
		num++
	}
}

TODO

  • Add better unit tests
  • Support for stop words

License

MIT

About

A easy to remember random password generator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages