27a411f
3c846b6
1 2 3
4
5 6 7
8 9
10
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) }