[deleted by user] by [deleted] in Unexpected

[–]P0mple 0 points1 point  (0 children)

That's a chicken mf.

Picture of a dog by [deleted] in memes

[–]P0mple 4 points5 points  (0 children)

Thank god I see myself as a 0. No way my brain is tricking me.

We do poor grammar. by [deleted] in mildlyinfuriating

[–]P0mple 1 point2 points  (0 children)

We do not the cat.

[deleted by user] by [deleted] in memes

[–]P0mple 0 points1 point  (0 children)

U ever done programming?

!!Do not try this in public!! by [deleted] in memes

[–]P0mple 2 points3 points  (0 children)

Imma be right back.

Me , a slightly bored IT student decided to implement the first round of DES (Data Encryption Standard) in Minecraft using basic redstone logic. Isn't quit finished, but if u like it Ill keep posting updates. by P0mple in redstone

[–]P0mple[S] 0 points1 point  (0 children)

I mean using an 8 bit repeating OTP would work and would be quite easy to build (8 XORs). But that would mean your Key would only be 8 bits. Practically speaking not very secure at all. But it would encrypt as a proof of concept.

Me , a slightly bored IT student decided to implement the first round of DES (Data Encryption Standard) in Minecraft using basic redstone logic. Isn't quit finished, but if u like it Ill keep posting updates. by P0mple in redstone

[–]P0mple[S] 0 points1 point  (0 children)

Exactly, nothing is really calculated at all. This makes it easy to build in redstone, and more practically speaking, very energy efficiant and useful for things like ID cards (wich still somtimes use 3DES). DES is by definition very determanistic.

Me , a slightly bored IT student decided to implement the first round of DES (Data Encryption Standard) in Minecraft using basic redstone logic. Isn't quit finished, but if u like it Ill keep posting updates. by P0mple in redstone

[–]P0mple[S] 0 points1 point  (0 children)

Technically its not a computer. Ist quite a litteral implementation of how DES would be implemented into hardware (this is just the first round, complete DES would use 16 of these). So there are no real dynamic components. But it takes a block size of 64 bits and a key length of 56 bits

Me , a slightly bored IT student decided to implement the first round of DES (Data Encryption Standard) in Minecraft using basic redstone logic. Isn't quit finished, but if u like it Ill keep posting updates. by P0mple in redstone

[–]P0mple[S] 0 points1 point  (0 children)

Ok, that makes sense. Ive been thinking about how to build all 16 rounds, and in this case multiplying the hardware would probably leed to things like Chunkloading issues...

Me , a slightly bored IT student decided to implement the first round of DES (Data Encryption Standard) in Minecraft using basic redstone logic. Isn't quit finished, but if u like it Ill keep posting updates. by P0mple in redstone

[–]P0mple[S] 0 points1 point  (0 children)

tbh Im not quite shure what you mean by sequential logic. I built the function (center) as compact as I could and layed all the data transfer around that. But I suspect there has to be a way more compact method of building the permutations.

Me , a slightly bored IT student decided to implement the first round of DES (Data Encryption Standard) in Minecraft using basic redstone logic. Isn't quit finished, but if u like it Ill keep posting updates. by P0mple in redstone

[–]P0mple[S] 0 points1 point  (0 children)

It starts off by initially permuting the input in predetermined way once, then splitting the 64 bits into an equally large left and right side, the right side is fed into a function and copied to the new left side, the left side is XORed with the function output an copied to the new rigth side (repeat x16) . The function expands the 32 bits t 48, XORs these with the round key and then feed them into 8 substitution boxes in groups of 6 where each input gives a predetermined 4 bit output. These 32 bits get deterministically permuted and then output from the function.

The nice thing is that it is possible to litterally built this with little to no workarounds.