项目作者: pixincreate

项目描述 :
A simple approach to Secure Password Input for Python3
高级语言: Python
项目地址: git://github.com/pixincreate/white-password.git
创建时间: 2020-11-03T04:51:02Z
项目社区:https://github.com/pixincreate/white-password

开源协议:MIT License

下载


White-Password

A simple approach to Secure Password Input in python.

Why white-password?

No-human in this world wish to get their Passwords to get leaked out.
Python script that you write will not know that you’re entering a password until and unless you use white-password which hides
the user input in a much more secure way.
No-one will ever know how long your password is either as you see an empty line with a blank space.

Usage:

  • Copy and paste the entire method / function in your code.
  • Equate and Call the function with a subscript. (keyword prompt is mandatory!)

Example of usage:

  1. def white_password(prompt): # Check src(white-password.py)
  2. ...
  3. ...
  4. return ...
  5. USERNAME = input("User Name : ") # A simple user input
  6. PASSWORD = white_password(prompt="Password : ") # Calling the white_password(). You can write what ever you wish inside the double quotes.