Skip to content

Tagged "cryptography"

  • FBI Cryptography Challenge 2008

    #fun #cryptography #security

    What does the following text mean to you? VFWTDLCSWV. YD NSLMIJFWEJFD GSW SL NIJNQBLM FOBV EJFDVF DLNIGTFBSL. KBVBF YYY.AHB.MSK/NSCDC.OFZ FS EDF WV QLSY SA GSWI VWNNDVV.

  • Basic Cryptography With PHP - shift and unshift

    #PHP #cryptography #Code

    I just started reading Dan Brown's, "Digital Fortress" which is an excellent read so far. Early on in the novel, we are introduced to some very basic cryptography. Nothing like the FBI Cryptography Challenge, mind you. This is much simpler. So, what is the cypher? It's simple. Just shift each letter of the "clear text" message by minus one. So, 'a' becomes 'z', 'b' becomes 'a', 'c' becomes 'b', and so on. First, we'll need a script to encrypt the message. We'll also need a script to decrypt the message just for good measure. So I give you, shift.php and unshift.php.