Skip to content
/ mkpasswd Public

Simple mkpasswd utility written in golang for platform portability

License

Notifications You must be signed in to change notification settings

myENA/mkpasswd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mozilla Public License

mkpasswd

Summary

Simple mkpasswd utility written in golang for platform portability.

Installing

With a proper Go environment simply run:

go get -u github.com/myENA/mkpasswd

Usage

Summary

ahurt$ ./mkpasswd -h
Usage of mkpasswd:
  -hash string
        Optional hash argument: sha512, sha256, md5 or apr1 (default "sha512")
  -password string
        Optional password argument
  -rounds int
        Optional number of rounds
  -salt string
        Optional salt argument without prefix

Example

ahurt$ ./mkpasswd
Password: ****
Confirm:  ****
$6$amUMrbDAEvqAdrtz$Jg0xMnIVeRR2IrZExX3AJj/IIMkfqDGGebIiUFRM2A376d8rbIJYBMOQGjoLeHu3mPlq//0Awc55zEtBNH43m.

About

Simple mkpasswd utility written in golang for platform portability

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages