Skip to content
forked from Luizerz/PassGen

A strong password generator in swift

Notifications You must be signed in to change notification settings

reserved1/PassGen

 
 

Repository files navigation

██████╗  █████╗ ███████╗███████╗ ██████╗ ███████╗███╗   ██╗
██╔══██╗██╔══██╗██╔════╝██╔════╝██╔════╝ ██╔════╝████╗  ██║
██████╔╝███████║███████╗███████╗██║  ███╗█████╗  ██╔██╗ ██║
██╔═══╝ ██╔══██║╚════██║╚════██║██║   ██║██╔══╝  ██║╚██╗██║
██║     ██║  ██║███████║███████║╚██████╔╝███████╗██║ ╚████║
╚═╝     ╚═╝  ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚══════╝╚═╝  ╚═══╝
                                                           

Password-Generetor

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.

Why PassGen?

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.

brewImage Installing with brew.

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

How work it ?

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.

To execute properly you need to use a terminal and put the arguments.

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.

Demo1Gif
When you run the script, will be created a senhas.txtin your home directory to storage all passwords.

@Code by Luiz Sena at Apple Developer Academy

About

A strong password generator in swift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%