Initial Release
Generating secure passwords and check strength of passwords
Install with ZPM
zpm "install passwords-tool"
Set password = ##class(caretdev.Passwords).Generate()
Will generate the password, with default parammaters 12 characters long, all characters, and required lowercase with the best entropy.
Accepted parameters
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
0123456789
!'.,:;?&-"" @#$%^*(){}[]><~`_+=|/\
Include* parameters behavior, by its value
Password entropy predicts how difficult a given password would be to crack through guessing, brute force cracking, dictionary attacks or other common methods. Entropy essentially measures how many guesses an attacker will need to make to guess your password.
Set entropy = ##class(caretdev.Passwords).Entropy("Pas$W0rD")
Set strengt = ##class(caretdev.Passwords).DetermineStrength("Pas$W0rD")
Returns one of the following values, depends on Entropy value for the password
Set entropy = ##class(caretdev.Passwords).NISTScore("Pas$W0rD")
Some another alhorithm of entropy calculation.
Wikipedia
Set entropy = ##class(caretdev.Passwords).ShannonScore("Pas$W0rD")
Make sure you have git and Docker desktop installed.
Clone/git pull the repo into any local directory
git clone https://github.com/caretdev/iris-passwords-tool.git
Open the terminal in this directory and run:
set DOCKER_BUILDKIT=1
docker compose build
Run the IRIS container with your project:
docker-compose up -d
Open IRIS terminal:
$ docker-compose exec iris iris session iris
USER>Set password = ##class(caretdev.Passwords).Generate()
USER>