This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php namespace App\Services; | |
/** | |
* A PHP version of the Enigma machine. | |
* Wikipedia: http://en.wikipedia.org/wiki/Enigma_machine | |
* | |
* This might not be an accurate representation. I have never seen, nor used an enigma machine. | |
* This class was created by reading the article at http://enigma.louisedade.co.uk/howitworks.html. | |
* | |
* Usage: | |
* |