upp/pkg/tool/password_test.go
loveuer 7efeb093f2 wip: refactory uapp to uzone
feat: config first
2025-03-08 23:05:02 +08:00

12 lines
196 B
Go

package tool
import "testing"
func TestEncPassword(t *testing.T) {
password := "123456"
result := EncryptPassword(password, RandomString(8), 50000)
t.Logf("sum => %s", result)
}