3 ms·
Neat trick! I implemented a similar bitpacking approach for solving matrix equations in GF(2), which can be used for things like forging CRC hashes (faster than
by nneonneo 3y ago
Neat trick! I implemented a similar bitpacking approach for solving matrix equations in GF(2), which can be used for things like forging CRC hashes (faster than bruteforce) and solving certain cryptography problems. Code is here: https://github.com/nneonneo/pwn-stuff/blob/master/math/gf2.py https://github.com/nneonneo/pwn-stuff/blob/master/math/gf2.p....
- Retr0id 3y agoHa! As it happens, I've recently written near identical code, and was considering writing about it in a future article - I originally had leaking internal states of xorshift128+ in mind :)