🎇 直链url密码哈希

This commit is contained in:
微凉
2021-03-14 19:13:09 +08:00
parent 7076efb6be
commit 5c6344cac0
3 changed files with 25 additions and 1 deletions

View File

@ -2,6 +2,7 @@ package test
import (
"fmt"
"github.com/Xhofe/alist/utils"
"path/filepath"
"strings"
"testing"
@ -24,4 +25,8 @@ func TestPassword(t *testing.T) {
func TestDir(t *testing.T) {
dir,file:=filepath.Split("root")
fmt.Printf("dir:%s\nfile:%s\n",dir,file)
}
func TestMD5(t *testing.T) {
fmt.Printf("%s\n", utils.Get16MD5Encode("123456"))
}