Added CRC-32 hashing function
Completed message generation procedure.