PHP Classes

Simple PHP Enigma Machine: Encrypt and decrypt data like the Enigma machine

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 153 All time: 9,002 This week: 154Up
Version License PHP version Categories
simple 1.0.0The PHP License7.3PHP 5, Cryptography


This package can encrypt and decrypt data like the Enigma machine.

It can take a list of rotator characters that act as key and encrypts a given text string.

The package can also do the opposite, i.e. it takes a given encrypted message and decrypts it using the reverse process.

Innovation Award
PHP Programming Innovation award winner
December 2019
The Enigma machine was a well-known electro-mechanical computer that was used during World War II to help allies win the war.

This package implements the encryption algorithms in PHP that are similar to used implemented by the Enigma machine.

Manuel Lemos
Picture of adam berger
  Performance   Level  
Name: adam berger <contact>
Classes: 23 packages by
Country: Poland Poland
Age: ???
All time rank: 74821 in Poland Poland
Week rank: 578 Up14 in Poland Poland Up
Innovation award
Innovation award
Nominee: 8x

Winner: 2x


Simple Enigma Kriegsmarine

Enigma for 10 Encryption Drums. For 10 rotator 36x36x36x36x36x36x36x36x36x36 = 3 656 158 440 062 976 brutal force. PHP 7.3 more information here

  • Enigma-Kregsmarine
  Files folder image Files  
File Role Description
Files folder imageEnigmaKriegsmarine (3 files)
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file Doc. Documentation

  Files folder image Files  /  EnigmaKriegsmarine  
File Role Description
  Plain text file ClassEnigma.php Class Class source
  Plain text file EncryptionAndDecryption.php Class Class source
  Plain text file ValidateTrait.php Class Class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,002
This week:154Up