/drupal_cipher

This website was created using Drupal 7, 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.

Primary LanguagePHPGNU General Public License v2.0GPL-2.0

cipher

By Michaela Davis   4.28.17

Description

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 Cipher Module Specifications

Shift Value Shift Direction Encrypt Phrase Output
3 right “hello" "khoor"
1 left “hi there!" "gh sgdqd!"

Prerequisites

You will need the following things properly installed on your computer:

Installation

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.

Import the Database

  • 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 password cipher
  • 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.

Running / Development

  • Visit cipher at http://localhost:8888.
  • Use the username cipher and password cipher to login to the cipher site

License

MIT license

Copyright (c) 2017 Michaela Davis All Rights Reserved.