Education Station: Shifting and Masking with a Side of Crypto

By Edward Barnard The basics can be tricky. This month we take a careful walk-through of a few lines of cryptographic code in PHP. This leads us through the difference between ones’ complement and two’s complement representation. We achieve weirdness by combining logical AND with integer addition. Thirty-five …

Continue reading »

Written by php[architect] - The site for PHP professionals - - Aggregated on Friday February 23, 2018