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)
|
|
}
|