fox/ipb/helper_test.go

17 lines
289 B
Go
Raw Normal View History

2025-05-29 11:54:33 +08:00
package ipb
import (
2025-05-29 22:30:49 +08:00
"crypto/md5"
"fmt"
2025-05-29 11:54:33 +08:00
"testing"
)
func TestWipeWarn(t *testing.T) {
t.Log(MakeMsg("serviceName", 1, 2, 3, []byte("hello world")))
2025-05-29 22:30:49 +08:00
username := fmt.Sprintf("test%04d", 1)
t.Log(username)
password := fmt.Sprintf("%x", md5.Sum([]byte(username)))
t.Log(password)
2025-05-29 11:54:33 +08:00
}