Post Reply 
Enigma machine
06-26-2023, 11:07 PM
Post: #1
Enigma machine
Hello. Has anyone ever tried to program an enigma machine logic in an HP calculator?
I’ve been an HP user since college but recently rediscovered it and I’m having a blast programming on it. But I am still in early stages of my programming abilities. I wondered if anyone has tried this before. I’d love to see the logic behind.

Thanks
Find all posts by this user
Quote this message in a reply
06-26-2023, 11:29 PM (This post was last modified: 06-26-2023 11:31 PM by StephenG1CMZ.)
Post: #2
RE: Enigma machine
It seems someone has

https://www.hpmuseum.org/forum/thread-51...ght=Enigma

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
06-27-2023, 12:23 AM
Post: #3
RE: Enigma machine
I’ll be honest. I found that thread and I clicked a couple of those links (broken) and I gave up. The 48 Link is good. Thanks
Find all posts by this user
Quote this message in a reply
06-27-2023, 10:50 AM
Post: #4
RE: Enigma machine
In for a penny - in for a pound !
While the Enigma in HP41 coding would be very interesting, it was only the 1st version used by the Germans at that time (WW2). It seems that the "Lorenz" (also known as ‘Tunny’), was preferred by the German top brass for their more important secrets. HP41 code for that would be enterprising.
An interesting article on the subject can be read here.
DA
Find all posts by this user
Quote this message in a reply
06-27-2023, 11:17 AM
Post: #5
RE: Enigma machine
There is also an HP 49/50 version of the HP-48 program on hpcalc.org. Disclaimer: I have not tried either of them.
Find all posts by this user
Quote this message in a reply
06-27-2023, 01:15 PM
Post: #6
RE: Enigma machine
49G version works very nicely - Akima did a good job.
Find all posts by this user
Quote this message in a reply
06-27-2023, 01:19 PM
Post: #7
RE: Enigma machine
Here is a video by way of the Computer History Museum on the subject of the Colossus, recorded just after the Bletchley Park decoding efforts were declassified.

(06-27-2023 10:50 AM)derekamos Wrote:  While the Enigma in HP41 coding would be very interesting, it was only the 1st version used by the Germans at that time (WW2). It seems that the "Lorenz" (also known as ‘Tunny’), was preferred by the German top brass for their more important secrets. HP41 code for that would be enterprising.

I am continually amazed by the feats that people here manage to accomplish with the HP-41, but I wouldn't attempt a Lorenz simulator with anything less than a 48. Smile
Find all posts by this user
Quote this message in a reply
06-27-2023, 02:13 PM
Post: #8
RE: Enigma machine
The Lorenz cipher had its own problems. Arne Beurling broke it one weekend but never told how.

https://people.kth.se/~haakanh/publicati...urling.pdf
Find all posts by this user
Quote this message in a reply
06-28-2023, 03:47 PM
Post: #9
RE: Enigma machine
It is fun to write Enigma machines.

Not for an HP calculator, but for Sharp I wrote an Enigma machine in a tiny BASIC program. I've also included links in the GitHub repo to resources that might be useful. The program accurately simulates the Enigma I machine UKW B and C with 5 rotors I to V. It has been tested with real WW2 secret messages.

[Image: PC-2500.jpeg]

- Rob

"I count on old friends" -- HP 71B,Prime|Ti VOY200,Nspire CXII CAS|Casio fx-CG50...|Sharp PC-G850,E500,2500,1500,14xx,13xx,12xx...
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)