CRC32 is not a cryptographically secure way to check that messages are authentic and undamaged. @kisom recommends HMAC-SHA-256, and to use encrypt-then-MAC.