guichet/ssha.go
Quentin Dufour 3c846b6a59
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Inclusive + Fix checks + Fix SSHA
2022-07-19 10:35:14 +02:00

10 lines
215 B
Go

package main
import (
"github.com/jsimonetti/pwscheme/ssha512"
)
// Encode encodes the []byte of raw password
func SSHAEncode(rawPassPhrase string) (string, error) {
return ssha512.Generate(rawPassPhrase, 16)
}