picturecipher
picturecipher copied to clipboard
Selective Pixel Modification
Example code
$width = range(0, $argv[1]);
$height = range(0, $argv[2]);
srand($argv[3]);
shuffle($width);
shuffle($height);
echo "(" . $width[array_rand($width)] . ", " . $height[array_rand($height)] . ")\n";
echo "(" . $width[array_rand($width)] . ", " . $height[array_rand($height)] . ")\n";
echo "(" . $width[array_rand($width)] . ", " . $height[array_rand($height)] . ")\n";
echo "(" . $width[array_rand($width)] . ", " . $height[array_rand($height)] . ")\n";
echo "(" . $width[array_rand($width)] . ", " . $height[array_rand($height)] . ")\n";
Possibly implement with #12 and then use password as seed for shuffling pixel coordinates around for pixels to modify.