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

What would be really clever is if it could alter, say, source code or natural language prose of sufficient length to force a specific CRC preserving the semantics of the program/prose e.g. by reordering or changing words and/or identifiers. (changing 4 bytes to arbitrary values in a comment is against the spirit of this)


Here's a repo that does something a little more generic that you can adapt for that.

https://github.com/madler/spoof/

(you can naively use this to flip case where the case is not semantically important, but you can also extend this as needed)




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: