Write a program to simulate the authentication process

Assignment Help Basic Computer Science
Reference no: EM131661604

Question: Traditional password entry scheme are susceptible to "shoulder surfing" in which an attacker watches an unsuspecting user enter their password or pin number and uses it later to gain access to the account. One way to combat this problem is with a randomized challenge-response system. In these system the user enters different information every time based on a secret in response to a randomly generated challenge Consider the following scheme in which the password consists of a five-digit pin number (00000 to 99999). Each digit is assigned a random number that is 1, 2, or 3. The user enter the random numbers that correspond to their PIN instead of their actual PIN number.
For example, consider an actual PIN number of 12345. To authenticate the user would be presented with a screen such as:

PIN:      0     1      2       3       4       5       6       7       8       9

NUM:     3     2      3       1       1       3       2       2       1       3        


The user would enter 23113 instead of 12345. This doesn't divulge the password even if an attacker intercepts the entry because 23113 could correspond to other PIN numbers, such as 69400 or 70439. The next time the user logs in, a different sequence of random numbers would be generated, such as:

PIN:      0     1      2       3       4       5       6       7       8       9

NUM:     1     1      2       3       1       2       2       3      3       3

Write a program to simulate the authentication process. Store an actual PIN number in your program. The program should use an array to assign random number to the digits from 0 to 9. Output the random digits to the screen, input the response correctly matches the PIN number.

Reference no: EM131661604

Questions Cloud

Define masaya is wearing street clothes and is a filipino : It is vitally important that nurses are aware of other cultures as they collaborate with a diverse work force as well as patients and their families
Prepare concord december adjusting entry : Prepare Concord's December 31 adjusting entry to record $240 of accrued interest, and the February 1 journal entry to record receipt of $9,920 from borrower
Building blocks and structural elements : Identify and discuss the building blocks and structural elements of strategic compensation systems?
Laws and regulations guiding total compensation : Some people feel there are too many laws and regulations guiding total compensation, and others say there are not enough. What is your opinion?
Write a program to simulate the authentication process : Write a program to simulate the authentication process. Store an actual PIN number in your program. The program should use an array to assign random number.
Discuss implications of studies : briefly describe the controversy and state that you will present research supporting first one side, and then the other.
Recommend two training delivery options for an organization : Recommend two training delivery options for an organization and Explain your rationale for these recommendations.
Explore supply and demand conditions for your firms product : Explore the supply and demand conditions for your firm's product. Examine the price elasticity of demand for the product(s) your firm sells.
Describe the eight steps in the personal selling process : Explain and describe the eight steps in the personal selling process. prospecting, preapproach, approach, need assessment, presentation, meeting objective

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd