5 ms·
Cool, I knew that LFSRs were used in ciphers. I was not aware that they were also useful for implementing old-school graphical effects. https://en.wikipedia.or
by ishi 9y ago
Cool, I knew that LFSRs were used in ciphers. I was not aware that they were also useful for implementing old-school graphical effects.
https://en.wikipedia.org/wiki/Linear-feedback_shift_register#Uses_in_cryptography https://en.wikipedia.org/wiki/Linear-feedback_shift_register...
- zimpenfish 9y agoI'm not sure I'd call Wolfenstein 3D "old-school". But then I did start with computers in 1980.
- ktta 9y agoCSS[1] was the defacto 'DRM' back in the day, which used two LFSRs for 40-bit encryption. Apart from being able to brute force it today, there are many other ways to break it[2]. Now the DRM on DVDs/BluRays is AACS[3], which uses AES. You might also recognise it from the 'copyrighted numbers' fiasco[4] [1]: https://en.wikipedia.org/wiki/Content_Scramble_System https://en.wikipedia.org/wiki/Content_Scramble_System [2]: https://en.wikipedia.org/wiki/Content_Scramble_System#Cryptanalysis https://en.wikipedia.org/wiki/Content_Scramble_System#Crypta... [3]: https://en.wikipedia.org/wiki/Advanced_Access_Content_System https://en.wikipedia.org/wiki/Advanced_Access_Content_System [4]: https://en.wikipedia.org/wiki/AACS_encryption_key_controversy https://en.wikipedia.org/wiki/AACS_encryption_key_controvers...
- jimktrains2 9y agoSimilar concepts are used for raid 6 parity (LSFR + Galois Fields). A pdf I found describing raid 6 parity describes the field and LSFR use and some background. https://www.kernel.org/pub/linux/kernel/people/hpa/raid6.pdf https://www.kernel.org/pub/linux/kernel/people/hpa/raid6.pdf (I took at stab at implementing them awhile back as an experiment. https://github.com/jimktrains/r6parity https://github.com/jimktrains/r6parity)