universal cellular automata or
category: code [glöplog]
baah: nice :)
ok, finally i managed to decrypt xor patterns by using a cellular automata. this one only (maybe unfortunately) need one bit on each row to specify how the whole pattern will be in the end. but it only need the one dimension. that is in a 640x320 grid it needs the 320 bitvalues to generate the reverse-engineered grid of the original pattern. a pattern that for example was generated with random initial values.
Why the mirroring?
Btw, I'm making some code for this as well.
Btw, I'm making some code for this as well.
raymarching 3d cellular automatons evolving in real time in 3.. 2..
raytraced
Damn that's cool.
nitro2k01: the upper part of the image is the cellullar automata that generates the xor pattern. the lower part is the decrypted pattern. thats why it is mirrored.
if i where to go backwards then it wouldnt have been mirrored, but the image was just to show that the patterns are equal from the last row of cells (which are the initial configuration of the decrypted algorithm).
So, I made a program which generates this kind of pattern. Pic dump:
This is after a round in phl0tosharp.
Other various raw images and experiments. Some are straight rule 30/110. Others are my own experiements. I've mostly seeded them with 1's at prime number places.
[imghttp://i.imgur.com/R9J0n.png][/img]
This is after a round in phl0tosharp.
Other various raw images and experiments. Some are straight rule 30/110. Others are my own experiements. I've mostly seeded them with 1's at prime number places.
[imghttp://i.imgur.com/R9J0n.png][/img]
nitro2k01: aweness
I wonder what that sounds like when fed to a soundbuffer in a good way...
Tried opening the output from my program as an audio file, (1 bit per pixel) and no luck. Sounds mostly like high pitched digital noise (which it is). Maybe there are other ways to get useful sounds out of this, but they're no trivial. (Maybe for example interpreting the bits as 8 bitd in s byte. Might just work. :) )
I was thinking, maybe you could take the input and play it as if it was a spectrogram.
@Hyde: cool new view...
there. now i dont need bit for each column. now i can decrypt the whole pattern with another CA-rule :P
baah: thanks, used Exposure Render:
http://code.google.com/p/exposure-render/
It's good fun, dl the binary, create your volume data and store it in a test.raw file, add a .mhd file that contains something like the following:
and load the .mhd-file in Exposure Render.
(this mhd-file specifies 16 bit ints, so the density voxels in .raw should be of that type.)
http://code.google.com/p/exposure-render/
It's good fun, dl the binary, create your volume data and store it in a test.raw file, add a .mhd file that contains something like the following:
Code:
ObjectType = Image
NDims = 3
BinaryData = True
BinaryDataByteOrderMSB = False
CompressedData = False
TransformMatrix = 1 0 0 0 1 0 0 0 1
Offset = 0 0 0
CenterOfRotation = 0 0 0
ElementSpacing = 1 1 1
DimSize = 128 128 128
AnatomicalOrientation = ???
ElementType = MET_SHORT
ElementDataFile = test.raw
and load the .mhd-file in Exposure Render.
(this mhd-file specifies 16 bit ints, so the density voxels in .raw should be of that type.)
after a day of painfull work i finally managed it.
this is the result of rule30 encryption. it starts reverse-engineering of the last row of the original rule30-generation, encrypts the resulting row on each time step to finally come back to the original initial black cell:
this is the result of rule30 encryption. it starts reverse-engineering of the last row of the original rule30-generation, encrypts the resulting row on each time step to finally come back to the original initial black cell:
Awesome, the pattern looks like a bird or something.
i don't know what wolfram means with cryptanalysis. the decryption of rule 30 is very simple. its almost as simple as generating the random numbers of the center column in rule30 in the first place. now i havent checked whether this works at longer sequences, but i guess that it is as complete as it can be.
rudi: Where does it say anything about cryptanalysis? Maybe you just wrote ca first and WA decided to interpret that as cryptanalysis instead of cellular automaton?
nitro2k01: no, sorry. it wasnt Wolfram who said that, but someone else. here: http://forum.wolframscience.com/archive/topic/show/231
I just wonder what it this means?
What I am at the time being just out after if someone has allready done this. I have not the NKS-book. I will order it as soon as possible so I can read and find out. If anyone allready knows please tell me. I've tried to search this info without finding that much about it.
My plan is to try this on rule 54 because i've read that it is irreversible.
Quote:
Richard Feynman tried to cryptanalyse rule 30 without success. Some partial progress on decrypting rule 30 sequences given enough information was made in the early 90s (see note on page 1087), but requires essentially a complete column of the rule's evolution. If you can find any significant deviation of the behavior of the center column of rule 30 from perfect randomness, it would be news.
I just wonder what it this means?
What I am at the time being just out after if someone has allready done this. I have not the NKS-book. I will order it as soon as possible so I can read and find out. If anyone allready knows please tell me. I've tried to search this info without finding that much about it.
My plan is to try this on rule 54 because i've read that it is irreversible.
if someone has this book and read page 1087, please tell me about it! hehe
What does "Feynman tried to cryptanalyse rule 30" even mean. Reverse it?
Lord Graga: I think so, but i am not sure. Someone should confirm if this is true.
one does not need the complete column, one only need half of the last row. one can go back as many times as the exact evolution of cells one got. to get the CA one needs atleast the last half row of cells (including the center).
one does not need the complete column, one only need half of the last row. one can go back as many times as the exact evolution of cells one got. to get the CA one needs atleast the last half row of cells (including the center).
i have yet to read and understand this: http://www.mathpages.com/home/kmath439/kmath439.htm if its the same technique that i am using and if it really is a method to reverse it, but it seems to be more complicated to understand. or atleast the definitions they use for me are a bit to formal to understand.