github.com/sereiner/library@v0.0.0-20200518095232-1fa3e640cc5f/security/crc32/crc32.go (about) 1 package crc32 2 3 import "hash/crc32" 4 5 func Encrypt(buffer []byte) uint32 { 6 return crc32.ChecksumIEEE(buffer) 7 }