In Java, what's the best library/method to map a 13-character string to a 3-character string for the error check purpose? Thanks!
2 Answers
There isn't a built-in method for this. You could implement a 24-bit CRC, if you really mean 3 bytes rather than characters.
If you do mean char, what characters do you accept in the output? Only ASCII? Any Unicode character?
1 Comment
HZhang
CRC is similar to what I want. Yes, ASCII is what I want.