encryption_go/encryption_test.go
insanity@loafle.com 167cb6268d .
2017-04-13 12:04:23 +09:00

16 lines
214 B
Go

package encryption
import (
"testing"
)
func TestEncrypt(t *testing.T) {
salt, hash, err := Encrypt("MyPassword")
if err != nil {
t.Fatal(err)
}
t.Logf("salt : %x\n", salt)
t.Logf("hash : %x\n", hash)
}