Well, write down the complete code: import itertools as its Therefore, the generated password is generally a string, while I previously generated a single character, so I use join and space link. It took me more than ten minutes to generate a seven digit password, and the generated file size is about 85M, so you can generate it according to the situation. ![]() The following is the number of digits of the generated password, but it should be noted that this should take into account the computer configuration. ![]() I use pure numbers here for convenience and time saving. Similarly, we will analyze step by step, and the complete code will be attached later.Īn iterator is used here, that is, we need to generate all characters of the password, which can be numbers, symbols and letters. The generation of this codebook is very simple, just a few lines of code. If not, you can use pip install itertools to install it under the DOS command. The idea used here is mainly the exhaustive method. And now? We use Python to generate a simple codebook. ![]() The password book is our common password, which is generally composed of numbers, letters and symbols.
0 Comments
Leave a Reply. |