Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If all I needed was detection I could just XOR all letters and append the result.


This doesn't detect a transposition error, which is somewhat common with humans. That's why in EAN-13 and similar codes, the checksum takes digits with varying weights.


doh. tank you!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: