-x, -f, env vars, prepping for hashing
This commit is contained in:
1
pwhash/funcs.go
Normal file
1
pwhash/funcs.go
Normal file
@@ -0,0 +1 @@
|
||||
package pwhash
|
||||
16
pwhash/init.go
Normal file
16
pwhash/init.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package pwhash
|
||||
|
||||
import (
|
||||
"github.com/hlandau/passlib"
|
||||
)
|
||||
|
||||
// init initializes the hashing libraries where necessary.
|
||||
func init() {
|
||||
|
||||
var err error
|
||||
|
||||
if err = passlib.UseDefaults("latest"); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user