Skip to content

Commit

Permalink
Readme clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
pepa65 committed Nov 25, 2023
1 parent 66d296d commit 1024256
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 20 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# becrypt
**Generate and check bcrypt hashes from a CLI**

* Version: 1.3.20
* Version: 1.3.21
* License: [MIT](LICENSE)
* Repo: `github.com/pepa65/becrypt`
* Modified interface from `github.com/shoenig/bcrypt-tool`:
Expand All @@ -16,16 +16,16 @@

## Usage
```
becrypt v1.3.20 - Generate and check bcrypt hashes from a CLI
becrypt v1.3.21 - Generate and check bcrypt hashes from a CLI
Repo: github.com/pepa65/becrypt
Usage: becrypt OPTION
Options:
help|-h|--help Display this HELP text.
cost|-c|--cost <hash> Display the COST of bcrypt <hash>.
<hash> [-q|--quiet] CHECK the password against bcrypt <hash>.
[<cost>] Generate a HASH from the given password
<hash> [-q|--quiet] ^ CHECK the password against bcrypt <hash>.
[<cost>] ^ Generate a HASH from the given password
(optional <cost>: 4..31, default: 10).
The password can be piped-in or prompted for. It's cut off after 72 characters.
^ Password: can be piped-in or prompted for; it's cut off after 72 characters.
```

## Install from Releases
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ module github.com/pepa65/becrypt
go 1.20

require (
golang.org/x/crypto v0.14.0
golang.org/x/term v0.13.0
golang.org/x/crypto v0.15.0
golang.org/x/term v0.14.0
)

require golang.org/x/sys v0.13.0 // indirect
require golang.org/x/sys v0.14.0 // indirect
18 changes: 6 additions & 12 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck=
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc=
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o=
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.12.0 h1:/ZfYdc3zq+q02Rv9vGqTeSItdzZTSNDmfTi0mBAuidU=
golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU=
golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek=
golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U=
golang.org/x/crypto v0.15.0 h1:frVn1TEaCEaZcn3Tmd7Y2b5KKPaZ+I32Q2OA3kYp5TA=
golang.org/x/crypto v0.15.0/go.mod h1:4ChreQoLWfG3xLDer1WdlH5NdlQ3+mwnQq1YTKY+72g=
golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q=
golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.14.0 h1:LGK9IlZ8T9jvdy6cTdfKUCltatMFOehAQo9SRC46UQ8=
golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww=

0 comments on commit 1024256

Please sign in to comment.