Message Boards Message Boards

1 Reply
0 Total Likes
View groups...
Share this post:

Decipher jpeg image

Posted 11 years ago
Hi, I'm having trouble with a little test. I've been given a jpeg image which is cyphered with a XOR encryption. I have the key, which is the first 154193 (number of pixels) digits of pi. I've looked up the headers of the image and it appears that it was created with Wolfram Mathematica. How can I decypher the image now? I can link the image if you want (377x409 pixels)
POSTED BY: Pepe Pepito
I suspect you want ImageData to turn the imported picture into a matrix, Partition to break the key into a matrix the same dimensions as the data, and BitXor to decrypt each pixel.
POSTED BY: Bruce Miller
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract