TimeEstimator
in package
Feedback - gives some user guidance based on the strength of a password
Tags
Table of Contents
Methods
- estimateAttackTimes() : array<string|int, mixed>
- displayTime() : string
- guessesToScore() : int
Methods
estimateAttackTimes()
public
estimateAttackTimes(int|float $guesses) : array<string|int, mixed>
Parameters
- $guesses : int|float
Return values
array<string|int, mixed>displayTime()
protected
displayTime(float $seconds) : string
Parameters
- $seconds : float
Return values
stringguessesToScore()
protected
guessesToScore(float $guesses) : int
Parameters
- $guesses : float