aboutsummaryrefslogblamecommitdiff
path: root/ssha.go
blob: a198d27e12bac9ea767972e9a24a2670564d2f62 (plain) (tree)
1
2
3
4
5
6
7
8
9


            
                                                


                                            

                                                       
 
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)
}