Explain your program appropriately using comments

Assignment Help Other Subject
Reference no: EM132710268

Assignment: Please Upload a source code file for this assignment. Explain your program appropriately using comments the source code.

Check the attached files of "OS Security II," for further details of assignment. You are to implement a Dictionary Attack with and without Password Salt program in either C++ or Python.

If you are not familiar with measuring execution time in C++, see the following website:

If you are not familiar with measuring execution time in Python, see the following website:

See the following steps.

1. Accept a user password of length N as keyboard input to your program. You can determine your own length N.

2. Compute the hash of the password from step 1.

Your hash function H() is simply the checksum. (See Assignment 2)

3. Now you become an attacker and try to find the password of length N.

Try every combination of length N password and for each combination, compute the hash and compare to the hash of the password from step 2.

Measure execution time.

4. Now let's reinforce our password using the password salt. Accept an arbitrary non-negative integer number as keyboard input to your program.

5. Compute the hash of the concatenated password salt and password from step 4 and step 1. To compute the password salt portion of the checksum, you can treat the entire password salt as EITHER a single integer OR multiple one-byte integers.

6. Now you become an attacker and try to find the concatenated password salt and password.

Try every combination of an arbitrary non-negative integer number and length N password and for each combination, compute the hash and compare to the hash from step 5.

Measure execution time.

NOTE: your program should have separate functions for the checksum and the two dictionary attacks with and without the password salt by the attacker.

Reference no: EM132710268

Questions Cloud

Describe any advantages longer-term maturities : Select when investing their savings. Describe any advantages or disadvantages of the relatively short-term maturities versus longer-term maturities
What disadvantages of the relatively short-term maturities : Advise the Sampsons, What are the advantages or disadvantages of the relatively short-term maturities versus the longer-term maturities?
Benefits of asexual and sexual reproduction : What are the costs and benefits of asexual and sexual reproduction?
Draw the t account of purchases : Draw the T account of Purchases, Sales, Mr. D, Mr. E, Return inwards, Return outwards, Mr. Z and Bank. On 1 March 2020, goods valuing $1000 were bought
Explain your program appropriately using comments : Please Upload a source code file for this assignment. Explain your program appropriately using comments the source code. Check the attached files of.
What type of symbiont is buchnera hamiltonella : What type of symbiont is Buchnera Hamiltonella? What type is? Compare and contrast the general traits of these two types of mutualistic symbionts?
What are the intended consequences from charging an interest : What are the intended consequences from charging an interest on excess reserves by Central banks? Interest rates increase./ Banks lend more money.
How can hgt affect evolution in prokaryotes : How can HGT affect evolution in prokaryotes? in eukaryotes? How does HGT differ in these two g
Why do ecological interactions matter in hgt : Why do ecological interactions matter in HGT?

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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