Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask E-Commerce Expert

Secure Electronic Commerce Assignment -

Part A -

Based on your practices in labs, develop an online e-commerce (shopping) system using html, javascript and php. You can assume any products for sales.

Please create a folder called "assignment" under your student folder, and construct the website as three folders (same as previous labs), client, server and database.

Please add a readme.txt file to explain your website, such as how to register, how to login, ect.

1. Registration of your website

a. Keep username and plain password in the database.

b. Keep username and hashed password in the database.

2. Login to your website

a. Username and plain password are POSTed to server for check

b. Username and hashed password are POSTed to server for check

3. Shopping Cart page

a. Only successful login user can access to the shopping cart

b. The quantity of each item in the shopping cart can be updated

4. Post shopping cart information and credit card number to Server

a. Post plain information and display plain information

b. Post encrypted information and display plain information - RSA only:

i. Shopping cart information and credit card number are encrypted with RSA encryption algorithm.

ii. The server decrypts the information with RSA decryption algorithm and stores it in the database.

c. Post encrypted information and display plain information - RSA and DES:

i. A successful login user posts an encrypted DES key (chosen by the user) to the server with RSA encryption algorithm.

ii. The server retrieves the DES key with RSA decryption algorithm and keeps the DES key for this user.

iii. The user will encrypt the shopping cart and credit card number with DES encryption algorithm and DES key (shared between the user and the server) before POSTing to the sever, and the server decrypts the encrypted shopping cart and credit card number with DES decryption algorithm and the shared DES key and stores it in the database.

Part B - Practical Lab

Q1. Test the following codes to encrypt/decrypt a message using javascript RSA functions.

Q2. Test the following codes to encrypt/decrypt a message using php RSA functions.

Q3. Based on Q1, Q2, write a client.html and server.php to achieve the following: Create the folders/files.

Expected outcome: users' input will be encrypted (RSA encryption using public key) before submitting to server, and will be decrypted (RSA decryption using private key) on the server side, and store plaintext in the database.

Client-side:

1. Enter a message

2. Encrypt the message using javascript RSA encryption API

3. Submit the ciphertext

Server-side:

1. Retrieve the ciphertext from client-side

2. Retrieve the RSA private (decryption) key

3. Decrypt the ciphertext using php RSA decryption API

4. Save the decrypted value to database.

Note - All codes for part b in attached file.

Attachment:- Assignment Files.rar

E-Commerce, Computer Science

  • Category:- E-Commerce
  • Reference No.:- M93114794

Have any Question?


Related Questions in E-Commerce

Purpose of the assessment with ulo mapping students are

Purpose of the assessment (with ULO Mapping) Students are required to design and develop four different Apps. Students will be able to: b. Apply Java programming concepts, models/architectures and patterns to Android app ...

Research and discuss html 5what are its main featureswhat

Research and discuss HTML 5. What are its main features? What resources are available to support it? Put it in your own words please.

Html - css assignments assignment 1 - internet programming

HTML - CSS Assignments Assignment 1 - Internet Programming   My grandfather, like many men who lived in rural America, owned a large machine shed where he stored tools, farm equipment, vehicles, lumber, and wonderful gad ...

Mobile applications assignment - an ios recipe application

Mobile Applications Assignment - An iOS Recipe Application - Introduction - In this assignment, you will create a simple Recipe application for iOS using Xcode (Swift). This application allows users to view food recipes. ...

Secure electronic commerce assignment -part a -based on

Secure Electronic Commerce Assignment - Part A - Based on your practices in labs, develop an online e-commerce (shopping) system using html, javascript and php. You can assume any products for sales. Please create a fold ...

Overviewassignment 2 asked you to build the front end of

Overview Assignment 2 asked you to build the front end of the assignment, now the client wants you to build the full eCommerce website to the point that orders can be made and stored in a spreadsheet. Requirements 1. Web ...

Create testcase for given project first use piki design to

Create testcase for given project, first use piki design to do test case Want to do it like testcase one file and you can also get right information from saeed testcases Want to piki design all of it and informat like te ...

Assignment requirementsyour web site proposal and

Assignment Requirements Your web site proposal and presentation (Assignment 1) was accepted, subject to any feedback you may have received. You company has been asked to develop website you suggested and build the featur ...

Mobile web application development assignment - android

Mobile Web Application Development Assignment - Android Apps Development Purpose of the assessment - Students are required to design and develop four different Apps. Apply Java programming concepts, models/architectures ...

Assignment - creating dynamic websites and web-based

Assignment - CREATING DYNAMIC WEBSITES AND WEB-BASED APPLICATIONS - AN OVERVIEW This assignment is an overview of the concepts, technologies and design techniques required to build dynamic websites and web-based applicat ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As