Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
GaoreGo
/
grlogs
Segui
6
Vota
1
Forka
1
Codice
Rilasci
8
Attività
Sfoglia il codice sorgente
project init
tags/v1.1.0
liangzy
4 anni fa
parent
6f877bb498
commit
6e70217644
1 ha cambiato i file
con
14 aggiunte
e
0 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+14
-0
function.go
+ 14
- 0
function.go
Vedi File
@@ -1,5 +1,19 @@
package grlogs
import (
"crypto/md5"
"encoding/hex"
"fmt"
"io/ioutil"
"math/rand"
"os"
"path"
"reflect"
"runtime"
"strings"
"time"
)
//传入一个字符串,返回一个加密后的md5
func Md5(str string) string {
data := []byte(str)
Write
Preview
Loading…
Annulla
Salva