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