Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
24 May, 2013, 04:26:31 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Enigma Machine -  (Read 235 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Wretchedlout
LV3 Member (Next: 100)
***
Offline Offline

Last Login: Today at 02:20:36
Date Registered: 04 April, 2012, 08:11:00
Posts: 64

Topic starter
Total Post Ratings: +6

View Profile
« on: 01 June, 2012, 00:30:09 »
0


 You just lost the game
So far, as I have been working on this for the past few days and it has been going good.
But first let me explain what an enigma machine does and how.

Spoiler for Hidden:
Ok, so first there is the 1. keypress. As you can see in the picture, are the keys (lol).
Then,the wires that take up the body of the box that are below the box which carry the current to the 2. plugboard. This can be seen in the front of the box as the wires that go from one peg hole to another. There are usually 10-13 wires but usually 10. There are actually 2 holes for each number, where the current comes from the keys, and fom the rotors. These are used to further scramble the code, and to make it almost unbreakable. Next, after the current goes through the plugboard it goes to the dials or 3. rotors. These are the main parts to the encryption process. Here is a good example of what the rotors do.

Bassically they look like this and "rotate" the code (randomly set one letter to another).

There are usually 3-4 of them.
So, as you saw in the first picture, the current goes through the 4. reflector. This, combined with the rotors makes the code further scrambled. Not only that but it turns it back through the rotors. Ok, final strech here. the current then goes back to the plugboard. It finnaly goes through the 5. lampboard. This is a fancy way of displaying the outputed code with lights.


So now all that, which is good and all but really has nothing against.

This is a method of decryption which looks at the frequency of each coded letter to show up and can tell what it is by determining how often it was used.
That is why the most important part on any Enigma Machine is that the rotors well, rotate.
This with encryption methods 2-4 make the Enigma Machine a VERY powerful tool of encryption. w00t

So anyway, I am making this in Basic and will implement all the functions of a real enigma machine.
1. Keypresses
2. Plugboard
3. Rotor 1
4. Rotor 2
5. Rotor 3
6. Rotor 4
7. Reflector
8. Rotor 4
9. Rotor 3
10. Rotor 2
11. Rotor 1
12. Plugboard
13. Display (output)

I will make this able to handle 128 (8*16) characters of encryption and decryption.

I will keep you posted with screenies.  Grin
« Last Edit: 07 June, 2012, 00:07:00 by Wretchedlout » Logged
ruler501
Crazy Freshman
LV11 Super Veteran (Next: 3000)
***********
Online Online

Gender: Male
Last Login: Today at 03:59:58
Date Registered: 08 November, 2010, 02:32:33
Location: In a cave with two spots of light and lots of meat
Posts: 2382


Total Post Ratings: +49

View Profile
« Reply #1 on: 01 June, 2012, 04:10:00 »
0

Sounds good I've always been interested in encryption especially the older kinds(because that what I understand Tongue )
Logged


Spoiler for "Projects":
My current games I am working on our:
  I might have an improved C version of this somewhere...
pSDL too lazy too make a userbar so I'll just link to the topic i update routinely http://www.omnimaga.org/index.php?board=146.0
Spoiler for "Misc images of test things":
NerdTests.com says I'm a Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!My computer geek score is greater than 100% of all people in the world! How do you compare? Click here to find out!"<br />[url=http://www.nerdtests.com/ft_personality.php?ref=42769
[/url]
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

------END GEEK CODE BLOCK------
"KnifeOn!  Apply directly to the forehead!  KnifeOn is available without a prescription at retailers nationwide."
Wretchedlout
LV3 Member (Next: 100)
***
Offline Offline

Last Login: Today at 02:20:36
Date Registered: 04 April, 2012, 08:11:00
Posts: 64

Topic starter
Total Post Ratings: +6

View Profile
« Reply #2 on: 06 June, 2012, 23:53:12 »
0

can you have

1
2
123->LRI(1
or do you need the end bracket?
« Last Edit: 06 June, 2012, 23:53:27 by Wretchedlout » Logged
blue_bear_94
LV7 Elite (Next: 700)
*******
Online Online

Gender: Male
Last Login: Today at 04:09:01
Date Registered: 09 May, 2012, 02:45:26
Location: Earth
Posts: 583


Total Post Ratings: +3

View Profile
« Reply #3 on: 06 June, 2012, 23:57:21 »
0

You do not need the closing bracket.
Logged


Kraphyko (TI-89 Image Editor) 80%
Starvak 2 1%
TI-84+SE User (2.55 MP 2.43)
TI-89 Titanium User (3.10)
Casio Prizm User (1.02)
Spoiler for Programming Languages:
TI-83+ Basic - 4
TI-83+ Asm - 1
TI-89 Basic - 2
TI-89 C - 2.5
Computer C - 2
GameMaker - 3
Java - 1.5
Racket - 3
Scala - 1
Le jeu.
Spoiler for Ultimate Internet Meme:
<a href="http://www.youtube.com/watch?v=zOMvDCRWBLI" target="_blank">http://www.youtube.com/watch?v=zOMvDCRWBLI</a>
Spoiler for Banner:


This server is always updated to the newest snapshot. Please don't try to join it on 1.4.7.
Sunrise 3 will have to wait till about a week later.
Spoiler for hellowld.radiation:
<< stdradiation

I must have had too much radiation for breakfast...I must have had too much radiation for breakfast...I must have had too much radiation for breakfast...I must have had too much radiation for breakfast... XDXD[I must have had too much radiation for breakfast...I must have had too much radiation for breakfast...I must have had too much radiation for breakfast...I must have had too much radiation for breakfast... Crazy, I must have had too much radiation for breakfast... Evil Laugh CrazyBig smile]
 Cheesy({ MadSmileySmileySadSmileySadSadSad, MadSmileySmileySadSadSmileySadSmiley,
 MadSmileySmileySadSmileySmileySadSad, MadSmileySmileySadSmileySmileySadSad,
 MadSmileySmileySadSmileySmileySmileySmiley, MadSmileySadSadSadSadSad,
 MadSmileySmileySmileySadSmileySmileySmiley, MadSmileySmileySadSmileySmileySmileySmiley,
 MadSmileySmileySmileySadSadSmileySmiley, MadSmileySmileySadSmileySmileySadSad,
 MadSmileySmileySadSadSmileySadSad, MadSad});
Spoiler for Give Internet!:
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.4 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.