Cyclic redundancy check algorithm included both server and client