overflow_probe/encryption/encryption_test.go
2017-08-03 19:08:34 +09:00

16 lines
204 B
Go

package encryption
import (
"testing"
)
func TestEncrypt(t *testing.T) {
salt, hash, err := Encrypt("MyPassword")
if err != nil {
t.Fatal(err)
}
b := Check("MyPassword", salt, hash)
t.Log(b)
}