Registry / auth / foomo-htpasswd

foomo-htpasswd

JSON →
library0.0.0-20200116085101-e3a90e78da9cgogounverified

Package htpasswd is a utility package to manipulate htpasswd files, supporting bcrypt and SHA hashes.

go get github.com/foomo/htpasswd
INSTALL
IMPORT
SIG · FOOMO-HTPASSWD
F
foomo-htpasswd
authgov0.0.0-20200116085101-e3a90e78da9c
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

htpasswd
github.com/foomo/htpasswd

Hashes a password using bcrypt and prints the htpasswd-compatible hash.

package main import ( "fmt" "github.com/foomo/htpasswd" ) func main() { hash, err := htpasswd.Hash("password", htpasswd.HashBcrypt) if err != nil { panic(err) } fmt.Println(hash) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20200116085101-e3a90e78da9clatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Resources
foomo-htpasswd — go get foomo-htpasswd · libregistry