This website was created using Drupal, a PHP framework. It contains a custom module called "shift_cipher" consisting of a form with inputs for "Shift Value", "Shift Direction", and "Encrypt Phrase" that it uses to "encrypt" your secret message.
Shift Value | Shift Direction | Encrypt Phrase | Output |
---|---|---|---|
3 | right | “hello" | "khoor" |
1 | left | “hi there!" | "gh sgdqd!" |
You will need the following things properly installed on your computer:
git clone https://github.com/Michaela-Davis/drupal_cipher.git
cd drupal_cipher
- Click on Preferences in your MAMP window and set your document root to the top level of your repository.
-
Open phpMyAdmin and click on the "Import" tab.
- Leave all the default settings and make sure the character set is "utf-8".
- Now click on the "Choose File" button next to "Browse your computer" and select the .sql.zip file included in the sites/db-backup folder. It's okay to leave it zipped.
- Click the "Go" button on the bottom left.
-
Create the Database User
- After importing the .sql.zip file, select the "Privileges" tab and click on "Add User".
- Use the username
cipher
and passwordcipher
-
After importing the database, if you have any trouble logging in with your Site Maintenance account, clear your browser's cookies by clearing the browser history.
- Visit cipher at http://localhost:8888.
- Use the username
cipher
and passwordcipher
to login to the cipher site
MIT license
Copyright (c) 2017 Michaela Davis All Rights Reserved.