Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.
/ GoPasswordCreator Public archive

A Passwordgenerator written in Go

License

Notifications You must be signed in to change notification settings

d3xter/GoPasswordCreator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important!

This repository is abandoned. The current development is happening in https://github.com/luther9/GoPasswordCreator.

GoPasswordCreator

This program is used for generating passwords. The user can choose which character-group will be used to generate the password. For example: lower case letters, numbers, and so on. It is also possible for the user to define his/her own set of characters which will be used to create the password.

Compilation

The easiest way to compile the Password-Creator is just to use the new "go" tool and run "go build", and it will generate a binary called "GoPasswordCreator"

Arguments

At least one of these arguments must be passed to GoPasswordCreator to specify what characters may be used in the password:

  • all Equivalent to 'alphanum special'
  • alphanum Equivalent to 'lower upper numbers'
  • lower Use lower-case letters
  • upper Use upper-case letters
  • numbers Use digits
  • special Use special characters (like '-')
  • own Takes a custom string that contains characters to use

'all', 'alphanum', 'lower', 'upper', 'numbers', and 'special' may be followed by '=f' to nullify that character set.

Options

  • -length Specifies the length of the generated password. Default is 8.
  • -count Specifies how many passwords to generate. Default is 1.
  • -file Write passwords to the named file instead of standard output.

Examples

GoPasswordCreator lower upper numbers

This generates passwords that could contain lower-case letters, upper-case letters, and numbers.

GoPasswordCreator alphanum

This generates passwords that could contain lower-case letters, upper-case letters, and numbers. This is just a short hand for the previous command.

GoPasswordCreator lower own="?="

This generates passwords that could contain lower-case letters and the two characters "?" and "=".

GoPasswordCreator all lower=f

This generates passwords that could contain any characters except for lower-case letters.

GoPasswordCreator -length 8 -count 5 -file passwords.txt all

5 Passwords with 8 characters per password will be written into passwords.txt.

About

A Passwordgenerator written in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages