Skip to content

A simple Go package to generate random passwords based on user-defined criteria.

License

Notifications You must be signed in to change notification settings

Mubashir01234/gopassgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoPassGen

Godoc license

A simple Go package to generate random passwords based on user-defined criteria.

Usage

import "github.com/Mubashir01234/gopassgen"

o := gopassgen.New(gopassgen.Options{
	Length:     12,
	HasLower:   true,
	HasUpper:   true,
	HasSymbols: true,
	HasNumbers: true,
})

password, err := o.GeneratePassword()
if err != nil {
	fmt.Println("Error generating password:", err)
	return
}
fmt.Println(password)

About

A simple Go package to generate random passwords based on user-defined criteria.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages