2017 © Pedro Peláez
 

library entropy

image

carnage/entropy

  • Saturday, October 1, 2016
  • by carnage
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

3N*tr0π Password Lib

This library is a tool for calculating the strength of passwords in a uniformed manner. Instead of stupid, annoying requirements of your users to have at least 1 capital, at least 1 number etc in their password; this library gives a complexity score for the password which you can use to decide if the password is strong enough for your application's needs., (*1)

Usage

<?php
$e = new \Carnage\Entropy\Entropy();
echo $e->calculateScore('Password1');
//1.5440680443503
echo $e->calculateScore('12t1^7kl0');
//16.434673224307

The Versions

01/10 2016

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Chris Riley