Skip to content

Implementation of a simple client-server program which will facilitate a client to register itself to the server. It is implemented in python socket programming.A server should keep a table of user-hash(password) entry for each user

Notifications You must be signed in to change notification settings

kanika2296/client-sever-password-based-authentication-in-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Password based authentication

Client-Server program which will facilitate a client to register itself to the server. A server should keep a table of user-hash(password) entry for each user.

This program registers user with username, password and stores password hash in dictonary. Also, when a user tries to login , password validation occurs.

Python,Socket programming

IMPLEMENTATION (python3)

SERVER : socket with multithreading CLIENT : socket HASH : SHA256 ( using pythons hashlib)

INPUT (client side)
1. Username
2. Password
OUPUT
1. Registeration Successful : new user
2. Connection Successful : password correct
3. Login Failed : password incorrect 

Hash table : Contains User and Password. It is implemented using python Dictionary data structure

About

Implementation of a simple client-server program which will facilitate a client to register itself to the server. It is implemented in python socket programming.A server should keep a table of user-hash(password) entry for each user

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages