17 lines
221 B
Go
17 lines
221 B
Go
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)
|
|
}
|
|
|
|
}
|