Unit 3 - CS
Unit 3 - CS
Unit 3 - CS
Contents
• Authentication Basics
• Password
• Challenge Response
• Biometrics
Basics
• (A, C, F, L, S)
• Set A specific information that proves identity
• Set C complementary information stored on computer
and used to validate authentication information
• Set F complementation functions; f : A C
• Set L authentication functions that verify identity;
l:A*C{true, false}
• Set S selection functions enabling entity to create, alter
information in A or C
Authentication Mechanisms
Password Authentication
Bank A
pwdA pwdA
Fake Site
Site B
d , B a nk A) Bank A
hash(pw A
pwdA
=
pwdB
hash(p
wd
B, SiteB) Site B
2 Random Challenge
encrypted with MD
3
Message Digest of Passwords
• Step 4: Server obtains the MD of the user’s password from the user
database & encrypt the random challenge with this MD & compare
the encrypted original random challenge with the encrypted random
challenge send by the client. If both match, server sends the
appropriate message to the client
Authentication token
1 Login request
2
Id: Atul Id: Atul
Password:101 Seed: ?
Client Server
Login Successful Id seed
Seed found:624
Atul 624
6 Seed: 624 3
Password:101
101
4 Password: Correct
5
Authentication Password
Token Validation
Program
Types of Authentication Tokens