Testing installation of Package
Project description
enigma_machine
A python package that allows a user to encrypt a message, simulating an enigma machine.
Examples
import enig
from enig import em
mac=em.Enigma_Machine()
print(mac.rotor1,mac.rotor2,mac.rotor3)
>>> 1 1 1
mac.random_rotors()
print(mac.rotor1,mac.rotor2,mac.rotor3)
>>> 14 12 20
res=mac.result("Hello, World!")
>>> shbkh, tgoye!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
enig-0.1.0.tar.gz
(18.0 kB
view hashes)