esway/internal/tool/password_test.go

11 lines
184 B
Go
Raw Normal View History

2024-12-19 15:03:36 +08:00
package tool
import "testing"
func TestEncPassword(t *testing.T) {
password := "123456"
result := EncryptPassword(password, RandomString(8), 50000)
t.Logf("sum => %s", result)
}