PWGen/pwhash/init.go

17 lines
221 B
Go
Raw Permalink Normal View History

2022-05-22 04:43:12 -04:00
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)
}
}