package crypto import ( "fmt" "testing" ) func TestSha256Encode(t *testing.T) { fmt.Println(cryptoTool.Sha256Encode("hello world!")) //7509e5bda0c762d2bac7f90d758b5b2263fa01ccbc542ab5e3df163be08e6ca9 }