██████╗ █████╗ ███████╗███████╗ ██████╗ ███████╗███╗ ██╗
██╔══██╗██╔══██╗██╔════╝██╔════╝██╔════╝ ██╔════╝████╗ ██║
██████╔╝███████║███████╗███████╗██║ ███╗█████╗ ██╔██╗ ██║
██╔═══╝ ██╔══██║╚════██║╚════██║██║ ██║██╔══╝ ██║╚██╗██║
██║ ██║ ██║███████║███████║╚██████╔╝███████╗██║ ╚████║
╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝
Building a strong password in a simple way.
Restrictions:
- the password lenght had to be between 8 and 32 characteres.
- can't be a string.
- can be assigned for empty name
OBS: The project may be had not a clean code, i'm working on.
I was looking for something to help me on my daily tests, day by day i use and create a lot of passwords, and this program help me to manage all passwords in a simple way.
First, you need to had a brew installed on your macOS/Linux, then you run the follow commands:
brew tap Luizerz/PassGen
brew install PassGen
and just run the code:
passgen -s size -p name
First of all, you need to clone this repo, following you'll need to do a swift run or swift build and then you can execute the binary.
git clone https://github.com/Luizerz/PassGen.git
swift run || swift build
After this, will be created a folder named by .build, where you'll find the binary executable. Be careful, in linux/macOS all .folders are hidden.
Finally, on ./build go to debug folder (created by swift run || swift build
as ./build) and there will be your binary executable file, they need to be called on terminal because the program need to arguments be wrote on input.
Example: ./passgen --size 12 --pass_name name
or with brew install passgen --size 12 --pass_name name
.
When you run the script, will be created a senhas.txt
in your home directory to storage all passwords.
@Code by Luiz Sena at Apple Developer Academy