github.com/Asutorufa/yuhaiin@v0.3.6-0.20240502055049-7984da7023a0/pkg/net/proxy/shadowsocksr/utils/crc32_test.go (about)

     1  package ssr
     2  
     3  import (
     4  	"hash/crc32"
     5  	"testing"
     6  )
     7  
     8  func TestXxx(t *testing.T) {
     9  	t.Log(CalcCRC32([]byte{0x01, 0x02, 0x03, 0x04}, 4), crc32.ChecksumIEEE([]byte{0x01, 0x02, 0x03, 0x04}))
    10  }