Sunday, May 19, 2024
HomeMatlabThe Enigma Qube, Merging an Enigma Machine and a Rubik’s Dice »...

The Enigma Qube, Merging an Enigma Machine and a Rubik’s Dice » Cleve’s Nook: Cleve Moler on Arithmetic and Computing


An Enigma Machine mixed with a Rubik’s Dice makes an encryption machine with unprecedented energy.

Contents

Rubik’s Dice

I’ve made a number of posts just lately about numerous cubes, together with the Rubik’s Dice.

Enigma Machine

In 2015, MathWorks’ Matt Brauer and a number of other of his colleagues created a MATLAB simulator of the Enigma Machine — the World Warfare II German encryption machine. See this video of a chat by Seth Popinchalk at a MathWorks firm assembly.

Code for the simulator is out there on the MATLAB Central File Change. Right here is the simulator keyboard.

Here’s a full Enigma machine in a museum.

Picture credit score: Alessandro Nassiri – Museo della Scienza e della Tecnologia.

Enigma Qube

I’m within the course of of mixing the Enigma and Rubiks simulators right into a single interconnected machine — the Enigma Qube. The Enigma Dice might be an encryption machine that’s extra highly effective than some other machine I’m conscious of.

Keyboard

The Enigma keyboard generates Rubiks rotations from a modification of Singmaster’s alphabet — F, M, R, T, E, D, F, A, B.

Rotors

The Enigma rotors are synchronized with Rubiks rotations in regards to the x-axis.

Plugboard

And, the Enigma plugboard might be changed by connections by means of the inside of the Rubiks dice. This inside community adjustments with every Rubiks motion.

Energy

The dimension of the state areas of the Enigma machine and the Rubiks dice are every about 10^20, so a single Enigma Dice may have roughly 10^40 levels of freedom. That is comparable with right now’s number-theoretic encryption algorithms. Nonetheless, the Enigma Dice know-how is just not threatened by the quantum algorithms that cloud the way forward for the opposite fashionable schemes.

Revealed with MATLAB® R2022a

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments