Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 505 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 505 Bytes

mkpass

This is both a CLI tool and a go (golang) library for generating secure passwords based on EFF diceware algorithm.

package main

import (
    "github.com/twistedhardware/mkpass"
    "fmt"
)

func main() {
    fmt.Println(mkpass.GenerateDicewarePassword(5))
}

To use this as a CLI tool, first, you need to install it:

go install github.com/twistedhardware/mkpass/cmd/[email protected]

Then you can generate a password:

makepass