wfc-server/common/encryption_test.go
2023-10-19 23:16:22 -04:00

15 lines
259 B
Go

package common
import (
"fmt"
"testing"
)
func TestEncryption(t *testing.T) {
encrypted := EncryptTypeX([]byte("key"), []byte("challenge"), []byte("data"))
for i := 0; i < len(encrypted); i++ {
fmt.Printf("%02x ", encrypted[i])
}
fmt.Printf("\n")
}