DISQUS

Kasey's blog: Hands on with Small Basic - Issac Kelly

  • aName · 11 months ago
    To encrypt the string, looks like you pass the user defined message and password into the php program string.php with the action to 'encode' via the url. The php program then writes out the encrypted 'string' to a web page of which you read (GetWebPageContents). (e.g. http://www.issackelly.com/string.php?action=enc... ) Then, using a similar process you call http://www.issackelly.com/string.php?action=dec...
  • issackelly · 11 months ago
    What I was getting at was 'which method do I use (inside the php script) to encrypt the string?

    It's a pretty simple one; for anyone with any sort of crypto experience.
  • aName · 11 months ago
    ah... possibly mcrypt_encrypt/mcrypt_decrypt
  • issackelly · 11 months ago
    Not quite. I took a look at those, and ended up writing my own *which is much simpler*.

    Here's a hint, it's based on binary arithmetic.