https://github.com/pixincreate/white-password
A simple approach to Secure Password Input for Python3
https://github.com/pixincreate/white-password
getpass python python3 secure-coding secure-password secure-passwords white-password
Last synced: 3 months ago
JSON representation
A simple approach to Secure Password Input for Python3
- Host: GitHub
- URL: https://github.com/pixincreate/white-password
- Owner: pixincreate
- License: mit
- Created: 2020-11-03T04:51:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-28T13:32:54.000Z (about 3 years ago)
- Last Synced: 2025-02-06T00:39:28.304Z (4 months ago)
- Topics: getpass, python, python3, secure-coding, secure-password, secure-passwords, white-password
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/pixincreate/white-password/blob/main/white-password.py)_** 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:
```
def white_password(prompt): # Check src(white-password.py)
...
...
return ...USERNAME = input("User Name : ") # A simple user input
PASSWORD = white_password(prompt="Password : ") # Calling the white_password(). You can write what ever you wish inside the double quotes.
```