tea_test.go 404 B

1234567891011121314
  1. package yu_tencent
  2. import (
  3. "fmt"
  4. yu_hex "gogs.qqck.cn/s/tools/hex"
  5. "testing"
  6. )
  7. func TestTea_En(t *testing.T) {
  8. j_tea := NewTea()
  9. j_data := j_tea.En([]byte("d9d8443ed135a6a8749f6b92e4fb14c933e30c11483f88c2793d5c5e01ff2a78004b3b8f26d9a95230e1e87468f93b056c414c4b4760949b8f91edb90bb6d148b4700be2db0b62c6ba0d3c63e25f14da"))
  10. fmt.Println(yu_hex.Upper(j_data))
  11. fmt.Println(string(j_tea.De(j_data)))
  12. }