Files
utils/encryptx/sha1x/sha1x_test.go
T
2023-09-16 20:14:20 +08:00

14 lines
182 B
Go

package sha1x_test
import (
"fmt"
"testing"
sha1x "yunink/app/pkg/encryptx/sha1x"
)
func TestSha1(t *testing.T) {
s := "sha1 this string"
r := sha1x.Sha1(s)
fmt.Println(r)
}