Crates.io | xpwd |
lib.rs | xpwd |
version | 1.0.4 |
source | src |
created_at | 2024-06-01 03:44:08.393302 |
updated_at | 2024-06-03 01:34:59.339165 |
description | A simple and quick password generator for enhanced security. |
homepage | |
repository | https://github.com/08820048/xpwd |
max_upload_size | |
id | 1258453 |
size | 86,767 |
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...
The usage examples below are always in line with the latest version. If you are using an older version, please visit https://crates.io/crates/xpwd to view the corresponding version's usage examples. Thank you.
$ xpwd -h
_______ ______
|\ /| ( ____ )|\ /|( __ \
( \ / ) | ( )|| ) ( || ( \ )
\ (_) /_____ | (____)|| | _ | || | ) |
) _ ((_____)| _____)| |( )| || | | |
/ ( ) \ | ( | || || || | ) |
( / \ ) | ) | () () || (__/ )
|/ \| |/ (_______)(______/
Fast, secure, and universal password generator.
Usage: xpwd.exe <COMMAND>
Commands:
pwd Generate a secure password of specified length and strength.
str Check the strength of the password you entered.
pas Generate a random short passphrase password based on a dictionary.
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
$ xpwd pwd -l 8 -c s
+--------+--------+----------+
| Param1 | Param2 | Result |
+--------+--------+----------+
| 8 | simple | u50nil6u |
+--------+--------+----------+
π‘οΈ β β β β β β β β β β β β β β β β β β β β moderate
---------------------------------------------
$ xpwd str -p 123456
π‘οΈ β β β β β β β β very weak
---------------------------------------------
$ xpwd pas -d C:\RustProjects\xpwd\resources\dictionary.txt -w 3
+--------+-----------------------------------------------+-----------------------+
| Param1 | Param2 | Result |
+--------+-----------------------------------------------+-----------------------+
| 3 | C:\RustProjects\xpwd\resources\dictionary.txt | PotatoHarmonyKeyboard |
+--------+-----------------------------------------------+-----------------------+
-----------------------------------------------
For details on each specific feature, you can use the -h
command to view help. For example, to see the help for the pwd
command, use:
$ xpwd pwd -h
_______ ______
|\ /| ( ____ )|\ /|( __ \
( \ / ) | ( )|| ) ( || ( \ )
\ (_) /_____ | (____)|| | _ | || | ) |
) _ ((_____)| _____)| |( )| || | | |
/ ( ) \ | ( | || || || | ) |
( / \ ) | ) | () () || (__/ )
|/ \| |/ (_______)(______/
Generate a secure password of specified length and strength.
Usage: xpwd.exe pwd [OPTIONS]
Options:
-l, --len <LEN> Length of password [default: 8]
-c, --complex <COMPLEX> Complexity of the password [default: m]
-h, --help Print help
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.