BoxLang 🚀 A New JVM Dynamic Language Learn More...
A password strength checker based on zxcvbn4j.
box install passifier
No configuration as of yet. 😁
Use Passifier.measure( password )
to measure password complexity:
var strength = getInstance( "Passifier@passifier" ).measure( "myBadPassword" );
You can then read complexity using a number of methods:
strength.getCrackTimeSeconds().getOfflineFastHashing1e10PerSecond()
strength.getCrackTimeDisplay().getOnlineNoThrottling10perSecond()
strength.getFeedback()
The Feedback object is acquired by running Passifier.measure( "myBadPassword" ).getFeedback()
.
feedback.getWarning()
feedback.getSuggestions()
The CrackTimeSeconds object is acquired by running Passifier.measure( "myBadPassword" ).getCrackTimeSeconds()
.
getOnlineThrottling100perHour()
getOnlineNoThrottling10perSecond()
getOfflineSlowHashing1e4perSecond()
getOfflineFastHashing1e10PerSecond()
The CrackTimeDisplay object is acquired by running Passifier.measure( "myBadPassword" ).getCrackTimeDisplay()
.
getOnlineThrottling100perHour()
getOnlineNoThrottling10perSecond()
getOfflineSlowHashing1e4perSecond()
getOfflineFastHashing1e10PerSecond()
All original functionality courtesy of zxcvbn4j, a super awesome port of DropBox's zxcvbn library.
Apache License, Version 2.0.
The ColdBox Websites, logo and content have a separate license and they are a separate entity.
For all have sinned, and come short of the glory of God (Romans 3:23)
But God commendeth his love toward us, in that, while we were yet sinners, Christ died for us. (Romans 5:8)
That if thou shalt confess with thy mouth the Lord Jesus, and shalt believe in thine heart that God hath raised him from the dead, thou shalt be saved. (Romans 10:9)
Copyright 2022 (and on) - Ortus Solutions
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
$
box install passifier