https://blogs.mathworks.com/cleve/2022/04/01/the-enigma-qube-merging-an-enigma-machine-and-a-rubiks-cube/ Toggle Main Navigation MathWorks * Sign In * Products * Solutions * Academia * Support * Community * Events * Get MATLAB MathWorks Matrix Menu * help_centerHelp Center * communityCommunity * mathworks_dotcomMathWorks * answersAnswers * file_exchangeFile Exchange * videosVideos * online_trainingOnline Training * blogsBlogs * codyCody * matlab_onlineMATLAB Online * matlab_driveMATLAB Drive * matlab_graderMATLAB Grader * bug_reportsBug Reports * thingspeakThingSpeak MathWorks * Products * Solutions * Academia * Support * Community * Events * Get MATLAB * * MathWorks Matrix Menu + help_centerHelp Center + communityCommunity + mathworks_dotcomMathWorks + answersAnswers + file_exchangeFile Exchange + videosVideos + online_trainingOnline Training + blogsBlogs + codyCody + matlab_onlineMATLAB Online + matlab_driveMATLAB Drive + matlab_graderMATLAB Grader + bug_reportsBug Reports + thingspeakThingSpeak Search Blogs [ ] Blogs * Support * MathWorks Search Support [ ] Support * Blogs * MathWorks Search MathWorks.com [ ] MathWorks * Blogs * Support Blogs * MATLAB Central + Community Home + MATLAB Answers + File Exchange + Cody + Blogs ------------------------------------------------------------- + Communities + Treasure Hunt + Highlights + Contests + Advisors + Virtual Badges + About * All MathWorks Blogs + Cleve's Corner: Cleve Moler on Mathematics and Computing Cleve's Corner: Cleve Moler on Mathematics and Computing An Interesting, and Perhaps New, Matrix + The MATLAB BlogThe MATLAB Blog Linear Algebra in MATLAB: Trying out AMD's AOCL + Steve on Image Processing with MATLABSteve on Image Processing with MATLAB How to use IMSPLIT to split a color image into component images + Guy on SimulinkGuy on Simulink Unifying MATLAB and Simulink: A User Story Part 5 + Deep LearningDeep Learning AI in the news: what to know, what to ignore + Developer ZoneDeveloper Zone Failure is the first step to trying + Stuart's MATLAB VideosStuart's MATLAB Videos Investigating a Failed Unit Test for My App + Behind the HeadlinesBehind the Headlines Capturing the image of this black hole required an Earth-sized telescope + File Exchange Pick of the WeekFile Exchange Pick of the Week Get your subplots the way you want it with subplotHelper + Hans on IoTHans on IoT Live Seismic Traffic Monitoring with ThingSpeak, MATLAB, and Raspberry Shake + Student LoungeStudent Lounge SAE AutoDrive II - Y1 MathWorks Simulation Challenge Winners + MATLAB CommunityMATLAB Community Home Made Magnetic Resonance Imaging + MATLAB yuzakomiyuniteiMATLAB yuzakomiyunitei robokatsupuhuainarudenosapoto + Startups, Accelerators, & EntrepreneursStartups, Accelerators, & Entrepreneurs Startup Shorts: Dynisma is Redefining the World of Automotive Motion Simulation + The MATLAB BlogThe MATLAB Blog Linear Algebra in MATLAB: Trying out AMD's AOCL * Subscribe + Follow + Posts (e-mail) + Posts (feed) Toggle navigation * MATLAB Central + Community Home + MATLAB Answers + File Exchange + Cody + Blogs ------------------------------------------------------------- + Communities + Treasure Hunt + Highlights + Contests + Advisors + Virtual Badges + About * All MathWorks Blogs + Cleve's Corner: Cleve Moler on Mathematics and Computing Cleve's Corner: Cleve Moler on Mathematics and Computing An Interesting, and Perhaps New, Matrix + The MATLAB BlogThe MATLAB Blog Linear Algebra in MATLAB: Trying out AMD's AOCL + Steve on Image Processing with MATLABSteve on Image Processing with MATLAB How to use IMSPLIT to split a color image into component images + Guy on SimulinkGuy on Simulink Unifying MATLAB and Simulink: A User Story Part 5 + Deep LearningDeep Learning AI in the news: what to know, what to ignore + Developer ZoneDeveloper Zone Failure is the first step to trying + Stuart's MATLAB VideosStuart's MATLAB Videos Investigating a Failed Unit Test for My App + Behind the HeadlinesBehind the Headlines Capturing the image of this black hole required an Earth-sized telescope + File Exchange Pick of the WeekFile Exchange Pick of the Week Get your subplots the way you want it with subplotHelper + Hans on IoTHans on IoT Live Seismic Traffic Monitoring with ThingSpeak, MATLAB, and Raspberry Shake + Student LoungeStudent Lounge SAE AutoDrive II - Y1 MathWorks Simulation Challenge Winners + MATLAB CommunityMATLAB Community Home Made Magnetic Resonance Imaging + MATLAB yuzakomiyuniteiMATLAB yuzakomiyunitei robokatsupuhuainarudenosapoto + Startups, Accelerators, & EntrepreneursStartups, Accelerators, & Entrepreneurs Startup Shorts: Dynisma is Redefining the World of Automotive Motion Simulation + The MATLAB BlogThe MATLAB Blog Linear Algebra in MATLAB: Trying out AMD's AOCL * Subscribe + Follow + Posts (e-mail) + Posts (feed) * Recent Posts * Archive * 20 Jul An Interesting, and Perhaps New, Matrix * 10 Jun The Soma Cube, Again * 18 May Rotation Matrices * 4 May Qube, The Movie * 12 Apr Digital Simulation of Rubik's Cube with Qube * 2022 * 2021 * 2020 * 2019 * 2018 * 2017 * 2016 * 2015 * 2014 * 2013 * 2012 Categories * 140History * 27Precision * 84People * 38Eigenvalues * 85Numerical Analysis * 41Algorithms * 21Calculus * 23Color * 1conservation * 1Cryptography * 16Differential Equations * 12Fractals * 109Fun * 68Graphics * 5Graphs * 9Logo * 15Magic Squares * 90Matrices * 2Music * 7Performance * 1Primes * 16Programming * 2Puzzles * 7Random Numbers * 3Random Numbers * 8Simulation * 14Singular Values * 7Special Functions * 12Supercomputing * 12Symbolic * 2Text * 9Travel * 6Uncategorized Cleve's Corner * Book: Experiments with MATLAB * Book: Numerical Computing with MATLAB * Collection: Newsletter Community Treasure Hunt Find the treasures in MATLAB Central and discover how the community can help you! Start Hunting! bio_img_cleve Cleve Moler is the author of the first MATLAB, one of the founders of MathWorks, and is currently Chief Mathematician at the company. He is the author of two books about MATLAB that are available online. He writes here about MATLAB, scientific computing and interesting mathematics. Cleve's Corner: Cleve Moler on Mathematics and Computing Scientific computing, math & more * Recent Posts * Archive * 20 Jul An Interesting, and Perhaps New, Matrix * 10 Jun The Soma Cube, Again * 18 May Rotation Matrices * 4 May Qube, The Movie * 12 Apr Digital Simulation of Rubik's Cube with Qube * 2022 * 2021 * 2020 * 2019 * 2018 * 2017 * 2016 * 2015 * 2014 * 2013 * 2012 Categories * 140History * 27Precision * 84People * 38Eigenvalues * 85Numerical Analysis * 41Algorithms * 21Calculus * 23Color * 1conservation * 1Cryptography * 16Differential Equations * 12Fractals * 109Fun * 68Graphics * 5Graphs * 9Logo * 15Magic Squares * 90Matrices * 2Music * 7Performance * 1Primes * 16Programming * 2Puzzles * 7Random Numbers * 3Random Numbers * 8Simulation * 14Singular Values * 7Special Functions * 12Supercomputing * 12Symbolic * 2Text * 9Travel * 6Uncategorized Cleve's Corner * Book: Experiments with MATLAB * Book: Numerical Computing with MATLAB * Collection: Newsletter Community Treasure Hunt Find the treasures in MATLAB Central and discover how the community can help you! Start Hunting! * < What is A\A? < Previous * Digital Simulation of Rubik's Cube >Next > The Enigma Qube, Merging an Enigma Machine and a Rubik's Cube Posted by Cleve Moler, April 1, 2022 2434 views (last 30 days) | 0 Likes | 2 comments An Enigma Machine combined with a Rubik's Cube makes an encryption device with unprecedented power. Contents * Rubik's Cube * Enigma Machine * Enigma Qube * Keyboard * Rotors * Plugboard * Power Rubik's Cube I have made several posts recently about various cubes, including the Rubik's Cube. [Q6] Enigma Machine In 2015, MathWorks' Matt Brauer and several of his colleagues created a MATLAB simulator of the Enigma Machine -- the World War II German encryption device. See this video of a talk by Seth Popinchalk at a MathWorks company meeting. Code for the simulator is available at the MATLAB Central File Exchange. Here is the simulator keyboard. [keyboard] Here is a complete Enigma machine in a museum. [Enigma] Image credit: Alessandro Nassiri - Museo della Scienza e della Tecnologia. Enigma Qube I am in the process of combining the Enigma and Rubiks simulators into a single interconnected device -- the Enigma Qube. The Enigma Cube will be an encryption machine that is more powerful than any other device I am aware of. Keyboard The Enigma keyboard generates Rubiks rotations from a modification of Singmaster's alphabet -- F, M, R, T, E, D, F, A, B. [EQube_fig1] [EQube_fig2] Rotors The Enigma rotors are synchronized with Rubiks rotations about the x-axis. [rotors] [x_rot] Plugboard And, the Enigma plugboard will be replaced by connections through the interior of the Rubiks cube. This inner network changes with each Rubiks movement. [PB] [PQ] Power The dimension of the state spaces of the Enigma machine and the Rubiks cube are each about 10^20, so a single Enigma Cube will have roughly 10^40 degrees of freedom. This is comparable with today's number-theoretic encryption algorithms. However, the Enigma Cube technology is not threatened by the quantum algorithms that cloud the future of the other modern schemes. Get the MATLAB code (requires JavaScript) Published with MATLAB(r) R2022a | You are now following this blog post You will see updates in your activity feed. You may receive emails, depending on your notification preferences. Close Category: Cryptography, Fun, Simulation * print * send email * * * * < What is A\A? < Previous * Digital Simulation of Rubik's Cube >Next > See Also * [500px-Blue] How long is the coast of Britain? Blogs * [enigma1] Enigma Blogs * [Simulating] Digital Simulation of Rubik's Cube Blogs * [screenshot] Caculate the intsection between 2 discs or disc with polygon * [screenshot] Enigma * [screenshot] Enigma Comments To leave a comment, please click here to sign in to your MathWorks Account or create a new one. x MathWorks Select a Web Site Choose a web site to get translated content where available and see local events and offers. You can select a web site from the following list: Americas * America Latina (Espanol) * Canada (English) * United States (English) Europe * Belgium (English) * Denmark (English) * Deutschland (Deutsch) * Espana (Espanol) * Finland (English) * France (Francais) * Ireland (English) * Italia (Italiano) * Luxembourg (English) * Netherlands (English) * Norway (English) * Osterreich (Deutsch) * Portugal (English) * Sweden (English) * Switzerland + Deutsch + English + Francais * United Kingdom (English) Asia Pacific * Australia (English) * India (English) * New Zealand (English) * Zhong Guo + Jian Ti Zhong Wen + English * Ri Ben (Ri Ben Yu ) * hangug (hangugeo) Contact your local office MathWorks Accelerating the pace of engineering and science MathWorks is the leading developer of mathematical computing software for engineers and scientists. Discover... Explore Products * MATLAB * Simulink * Student Software * Hardware Support * File Exchange Try or Buy * Downloads * Trial Software * Customer Stories * Pricing and Licensing * How to Buy Learn to Use * Documentation * Tutorials * Examples * Videos and Webinars * Training Get Support * Installation Help Help * MATLAB Answers * Consulting * License Center * Contact Support About MathWorks * Careers * Newsroom * Social Mission * Customer Stories * About MathWorks * United States * Trust Center * Trademarks * Privacy Policy * Preventing Piracy * Application Status * Terms of Use (c) 1994-2022 The MathWorks, Inc. * * * Instagram * YouTube * * Join the conversation