I'd like to validate message texts with CRC-8/16/32 but I'm afraid that they could be changed to another one (for example, adding a "No" at the beginning). There will be no special characters besides the usual ones (? , . ; ª º + =...) and the number of bytes will be counted as well. The messages will not be encrypted.

  • I think a better question would be how to secure the text in your scenario. But that would require some more information on what you are trying to accomplish and what you are protecting against. – Sjoerd Aug 21 '19 at 14:00
  • See also Checksum vs. Hash: Differences and Similarities? – Sjoerd Aug 21 '19 at 14:01
  • yes, it's possible, in some cases at least, and it's (relatively) a lot faster to find matches than with a hash. that said, it's still unlikely to be able to quickly and cheaply find such false-positives. – dandavis Aug 21 '19 at 18:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.