Enigma is a Simple to use encryption software made in order to ensure security of your programs on SMP servers. Multiple functions allow you to use it in the way you feel is best for you!
Encryption system is based of Military version of Enigma Machine.
I am trying to keep it as close to how original Enigma Machine worked as i can.
You can select 3 out of 10 predefined Rotors. You then select starting positions of said Rotors.
That gives 857375000 unique Rotor/Start Position combinations.
You can read more about it in http://en.wikipedia..../Enigma_machine
I have made few modification to it in order to be able to encrypt all common use symbols.
Download Here: http://pastebin.com/WYuNMxQx
Or ingame using command:
pastebin get WYuNMxQx enigma
Features List:
- Encryption/Decryption of strings
- 100% safe to your programs - no risk of corruption - if Enigma sees symbol it don't understands it simply writes it on without encryption.
--# create a new crypter crypter = enigma.crypt(A,B,C,a,b,c) --# A,B,C,a,b,c are starting positions on crypter. --# where A,B,C are numbers 1-10 that tell enigma witch out of 10 standard rotors to use and a,b,c are numbers from 1-96 that set starting positions of said rotors. --#A,B,C can also be a valid rotor tables.Valid rotor table is table containing numbers from 1-96 in random order. --# encrypting string ciphertext = crypter("plaintext") --# duplicating crypter crypterclone = crypter.copy() --# to decrypt create crypter with same starting positions as one used to encrypt decrypter = enigma.crypt(A,B,C,a,b,c) decrypter(ciphertext) -> "plaintext" --# to stop crypter from being able to be copied simply add true flag at end of attributes nocopycrypter = enigma.crypt(A,B,C,a,b,c,true) --# You can also stop duplication at later time by running nocopycrypter.blockCopy()
Here is example program:
Notes:
- In case of A,B,C instead of using numbers 1-10 for standard rotors you can make your own and give it instead of the number. Rotor is table containing numbers from 1-96 in random order.
- Instead of loading enigma as API you can use it as file encryption program. Simply use "enigma <absolute path> and after few quick questions selected fill will be encrypted.
- Enigma was secure at time of its creation. In this days it is easy to brute force. This program was not made to be a secure encryptor instead it is a recreation of actual enigma method of encryption.
Edited by wojbie, 01 December 2015 - 08:24 AM.