Released:
An Enigma machine simulation package.
Following on from my Python Enigma cipher machine simulator, I re-wrote it in C for maximum speed. The settings for each rotor - its start position and ring setting - can actually be combined into a single offset. Enigma is an operational data management and intelligence company that specializes in data analytics and connected data. Headquartered in New York City, the company is mainly known for Enigma Public, a now defunct library of public data. Using machine learning and artificial intelligence, the company organizes and connects internal and external data for customers in a variety of use cases.
Project description
Core temp portable. An Enigma machine simulator with state and encoding display for Python 2.7.
Currently support is only provided for those machine models in mostwidespread general use during the war years: the I, M3, and M4.
Functionality: package API
The package provides functionality for generating a machine configurationfrom a conventional specification, examining the state of a configuration, simulatingthe operation of a machine by stepping between states, andencoding messages:
Create a machine configuration (see the documentation for config_enigma_from_string
):
Tuxera ntfs 2016 final serial key {mac os x}. Encode messages (see the documentation for enigma_encoding
):
Show configuration details (see the documentation for config_string
):
Simulate machine operation (see the documentation for print_operation
):
Watch the machine as it runs for 500 steps:
Functionality: command line
A command line script, enigma.py
, provides almost all the functionality of the API.
Encode messages:
Show configuration details (explained in more detail in the command line help):
Simulate machine operation (explained in more detail command line help):
Watch the machine as it runs for 500 steps:
Python Enigma Cracker
Documentation
Full documentation is available at Read the Docs.
Command line documentation is available as help from the command line script:
Limitations
Note that the correct display of some characters used to representcomponents (thin Naval rotors) assumes support for Unicode, while someaspects of the display of machine state depend on support for combiningUnicode. This is a knownlimitation thatwill be addressed in a future release.
Note also that at the start of any scripts that use this package, you should
before any code that uses the API, or confiure IPython (in ipython_config.py
) with
Enigma Python Library
or explicitly suppply Unicode strings (e.g., as in the examples above with u'TESTING'
).
Alternatives
Enigma Python Code
For other Python Enigma machines see: 404bypass 1 0 4 – redirection made easy learning.
Enigma Ball Python
- py-enigma (Python 3)
This package is based on a Haskell version, with essentially the same API.
Development status
This package is in the early stages of development, and I and can't promise the currentdevelopment version will work. More detail about planned releases and activitiescan be found the list of scheduled milestones and in the list of open issues.Various test versions may be available for installation or issues review, but these alsomay not work as expected.
Release historyRelease notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size crypto-enigma-0.2.1b2.tar.gz (34.0 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for crypto-enigma-0.2.1b2.tar.gz
Released:
An Enigma machine simulation package.
Following on from my Python Enigma cipher machine simulator, I re-wrote it in C for maximum speed. The settings for each rotor - its start position and ring setting - can actually be combined into a single offset. Enigma is an operational data management and intelligence company that specializes in data analytics and connected data. Headquartered in New York City, the company is mainly known for Enigma Public, a now defunct library of public data. Using machine learning and artificial intelligence, the company organizes and connects internal and external data for customers in a variety of use cases.
Project description
Core temp portable. An Enigma machine simulator with state and encoding display for Python 2.7.
Currently support is only provided for those machine models in mostwidespread general use during the war years: the I, M3, and M4.
Functionality: package API
The package provides functionality for generating a machine configurationfrom a conventional specification, examining the state of a configuration, simulatingthe operation of a machine by stepping between states, andencoding messages:
Create a machine configuration (see the documentation for config_enigma_from_string
):
Tuxera ntfs 2016 final serial key {mac os x}. Encode messages (see the documentation for enigma_encoding
):
Show configuration details (see the documentation for config_string
):
Simulate machine operation (see the documentation for print_operation
):
Watch the machine as it runs for 500 steps:
Functionality: command line
A command line script, enigma.py
, provides almost all the functionality of the API.
Encode messages:
Show configuration details (explained in more detail in the command line help):
Simulate machine operation (explained in more detail command line help):
Watch the machine as it runs for 500 steps:
Python Enigma Cracker
Documentation
Full documentation is available at Read the Docs.
Command line documentation is available as help from the command line script:
Limitations
Note that the correct display of some characters used to representcomponents (thin Naval rotors) assumes support for Unicode, while someaspects of the display of machine state depend on support for combiningUnicode. This is a knownlimitation thatwill be addressed in a future release.
Note also that at the start of any scripts that use this package, you should
before any code that uses the API, or confiure IPython (in ipython_config.py
) with
Enigma Python Library
or explicitly suppply Unicode strings (e.g., as in the examples above with u'TESTING'
).
Alternatives
Enigma Python Code
For other Python Enigma machines see: 404bypass 1 0 4 – redirection made easy learning.
Enigma Ball Python
- py-enigma (Python 3)
This package is based on a Haskell version, with essentially the same API.
Development status
This package is in the early stages of development, and I and can't promise the currentdevelopment version will work. More detail about planned releases and activitiescan be found the list of scheduled milestones and in the list of open issues.Various test versions may be available for installation or issues review, but these alsomay not work as expected.
Release historyRelease notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size crypto-enigma-0.2.1b2.tar.gz (34.0 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for crypto-enigma-0.2.1b2.tar.gz
Algorithm | Hash digest |
---|---|
SHA256 | 8ca58f1ea8f75bf5eecd712cf2d9b54432abe3d225edcfe3abf76a8695e824e0 |
MD5 | 1d82ecbde7825bafa8883031d14d8a53 |
BLAKE2-256 | f37cd4f80a89e3f969cb7ee601f9d9ae9d5ed67c531f2a9f0fafea5ed3124849 |