
A command-line password generator built with Rust, offering a swift and effortless solution for creating passwords of varying strengths. Cure your password creation woes with a single command!
Please ensure that your operating system has Rust and the Cargo development environment properly configured.
cargo install xpwd //Install the latest version by default
If you haven't installed Scoop, please refer to the official website for installation (https://scoop.sh/#/). Then, execute the following command to install xpwd
scoop install xpwd
More installation methods are coming soon...
$ xpwd -h
_______ ______
|\ /| ( ____ )|\ /|( __ \
( \ / ) | ( )|| ) ( || ( \ )
\ (_) /_____ | (____)|| | _ | || | ) |
) _ ((_____)| _____)| |( )| || | | |
/ ( ) \ | ( | || || || | ) |
( / \ ) | ) | () () || (__/ )
|/ \| |/ (_______)(______/
Command line arguments structure
Options:
-l, --len <LEN> Length of password [default: 8]
-c, --complex <COMPLEX> Complexity of the password [default: m]
-p, --password <PASSWORD> Check strength of your password
-h, --help Print help
-V, --version Print version
$ xpwd -l 8 -c s
+-----+---------+----------+
| Len | complex | password |
+-----+---------+----------+
| 8 | simple | ld0an6qr |
+-----+---------+----------+
🛡️ ■■■■■■■■■■■■■■■■■■■■ moderate
$ xpwd -l 16 -c m
+-----+---------+------------------+
| Len | complex | password |
+-----+---------+------------------+
| 16 | medium | DwkYFtnVRhYoVAgk |
+-----+---------+------------------+
🛡️ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ very strong
$ xpwd -l 5 -c c
+-----+---------+----------+
| Len | complex | password |
+-----+---------+----------+
| 5 | complex | RtVUj |
+-----+---------+----------+
🛡️ ■■■■■■■■■■■■■ weak
$ cargo run -- -l 3 -c s
+-----+---------+----------+
| Len | complex | password |
+-----+---------+----------+
| 3 | simple | pl9 |
+-----+---------+----------+
🛡️ ■■■■■■■■ very weak
The generated password will be automatically copied to the clipboard by default, allowing you to directly paste and use it.
Here are the features and improvements we plan to add to the tool in the future. If you have any suggestions or ideas, feel free to share!
API (like Have I Been Pwned) to check if user-supplied passwords have been exposed in known data breaches, enhancing user awareness of password security.CorrectHorseBatteryStaple”.GUI) to enhance the user experience, particularly for those unfamiliar with command-line operations.IDE integrations, and apps for multiple platforms.This project is licensed under the MIT License - see the LICENSE file for details.
In order to provide a more efficient and convenient user experience, the original project quick_pswd (https://crates.io/crates/quick_pswd) has officially been renamed to xpwd.