Suppose that on a particular system all passwords are 10 cha

Suppose that on a particular system, all passwords are 10 characters, there are 64 choices for each character, and the system has a password file containing 512 hashed passwords. Furthermore, Trudy has a dictionary of 220 common passwords. Provide pseudo-code for an efficient attack on the password file in the following cases.

a. The password hashes are not salted.

b. The password hashes are salted.

Solution

gross wage textbox1

NIS num2textbox2

PAYE num3textbox3

health Insurance num6textbox6

credit card num7textbox7

othermonthly instal num8textbox8

total deduction textbox4

debit service magnitude relation answerlabel5

net wage textbox5

unsecure loan worth unsecureLabel7


\"calculate\" \"reset\"


the VB2008 code is

Dim answer As Decimal
Dim num2 As Decimal
Dim num3 As Decimal
Dim num6 As Decimal
Dim num7 As Decimal
Dim num8 As Decimal

Try


num2 = Decimal.Parse(num2TextBox2.Text)
num3 = Decimal.Parse(num3TextBox3.Text)
num6 = Decimal.Parse(num6TextBox6.Text)
num7 = Decimal.Parse(num7TextBox7.Text)
num8 = Decimal.Parse(num8TextBox8.Text)


TextBox4.Show()

TextBox4.Text = num2 + num3 + num6 + num7 + num8

answer = TextBox4.Text / TextBox1.Text
answerLabel5.Text = answer.ToString(\"P1\")


TextBox5.Text = TextBox1.Text - TextBox4.Text


If answer <= forty / a hundred Then
MessageBox.Show(\"CONGRATS!!! you\'re Qualified For a Loan.. Please continue \")

unsecureLabel7.Text = TextBox5.Text * 3


Else
MessageBox.Show(\"SORRY, you are not QUALIFIED FOR A application can currently CLOSE\")
Me.Hide()


End If

Catch ex As Exception
MessageBox.Show(\"ERROR!!! enter numeric data\")
End Try

End Sub

this is my psuedocode


BEGIN
num2 As Decimal
num3 As Decimal
num6 As Decimal
num7 As Decimal
num8 As Decimal

ACCEPT num2,num3,num6,num7,num8

DISPLAY
TextBox4.Text := num2 + num3 + num6 + num7 + num8

answer := TextBox4.Text / TextBox1.Text
answerLabel5.Text := answer.ToString(\"P1\")

TextBox5.Text := TextBox1.Text - TextBox4.Text


IF
answer <= forty / a hundred Then
MessageBox.Show(\"CONGRATS!!! you\'re Qualified For a Loan.. Please continue \")

unsecureLabel7.Text := TextBox5.Text * 3


Else
MessageBox.Show(\"SORRY, you are not QUALIFIED FOR A application can currently CLOSE\")
Me.Hide()


End If

Suppose that on a particular system, all passwords are 10 characters, there are 64 choices for each character, and the system has a password file containing 512
Suppose that on a particular system, all passwords are 10 characters, there are 64 choices for each character, and the system has a password file containing 512

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site