加密
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
334 B

package crypter
import (
// "fmt"
"testing"
)
func Test_EncryptedToken(t *testing.T) {
//2a12d5373e04a96c2e1862f786e9d054464fc13d
// fmt.Println([]byte("2a12d5373e04a96c2e1862f786e9d054464fc13d"))
token := "8d9a0183-ef9c-4ea6-bcf7-ab562ff4ac57"
key := "i3d6o32wo8fvs1fvdpwens"
ret := EncryptedToken(token, key)
t.Log(ret)
}