PHP Classes
elePHPant
Icontem

PHP Password Entropy Calculator: Calculates entropy of a given password

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2013-10-20 (3 years ago) RSS 2.0 feedStarStarStarStar 63%Total: 480 This week: 1All time: 5,733 This week: 558Up
Version License PHP version Categories
password-entropy 1.0.0GNU General Publi...5.0Algorithms, PHP 5, Text processing, S...
Description Author

This class can calculate entropy of a given password to determine if it easy to guess.

It takes a password text and checks the sets of characters that it contains to assign an entropy level.

The class returns an integer as entropy level.

  Performance   Level  
Name: Peter Kahl <contact>
Classes: 30 packages by
Country: Hong Kong Hong Kong
Age: ???
All time rank: 7064 in Hong Kong Hong Kong
Week rank: 21 Up1 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 17x

Details
Password Entropy Estimator
==========================

Copyright (c) 2013, Peter Kahl. All rights reserved.

[https://github.com/peterkahl/password-entropy-estimator](https://github.com/peterkahl/password-entropy-estimator)

About
=====

Estimates entropy of a password.

Usage Example
=============

```php
<?php

$password = 'McF-GU*".k9B[';

require 'class.password-entropy-estimator.php';
$ent = new password_entropy_estimator;
echo $ent->entropy($password); // 85 bits

?>
```

License
=======

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).

Change Log
==========

1.0.0 ..... 2012-10-13
	Initial release

  Files folder image Files  
File Role Description
Plain text file class.password-entropy-estimator.php Class The class
Accessible without login Plain text file README.md Doc. Usage, license, change log

 Version Control Unique User Downloads Download Rankings  
 0%
Total:480
This week:1
All time:5,733
This week:558Up
 User Ratings  
 
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:83%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:939