Sunday, 1 March 2020

Python Programme for generating 12 digit strong password

 
Cyber crime is increasing day by day. weak password  is not good for devices which
demands high confidentiality, privacy and security of user credentials. It is true
that people find it difficult make a secure password which is strong enough to prevent
cyber criminals to grab it.
In this article we will show how to create strong password consisting  numbers,
special-character, upper case, lower case char. which was unpredictable  for
crackers can’t be memorised easily.
In this article we show you to  make python programme for generating a secure password.
The component that are used in password creation programme are:
Random module is used for generating random number in in python language, with
the help of random module we can generate random number and character in a programme
when we need it.
Array:
Random method is used to select at least one character from each arrays.
Programme:1 



programme2:

In this programme we use random method to select at least one character from
each array of characters. In this code we take 3 arrays consisting of uppercase
and lowercase character and 3rd one with special characters. Then combined
all characters array to form a single array. After that uses the random method
to select at least one character from all three arrays. Now that we are sure that 
we have at least one character from each array. Then traverse the password into
array and shuffle b/w characters to prevent it from having a consistent pattern.
if it is consistent then beginning of password is predictable.
Traverse the password  array and append the characters to form a strong password.






Autthor:Preenu Mittan
Trainer Python

No comments:

Post a Comment

Introduction to Cloud Computing

 Cloud Computing is a Service Which is provided on  the Internet. Services provide in clouds are servers, storage, database, networking, sof...