Skip to content

Commit 16291e8

Browse files
committed
fix zendframework#23 missing method in HashTiming (RandomLib 1.2)
1 parent 634123f commit 16291e8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Source/HashTiming.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,17 @@ public static function getStrength()
6161
return new Strength(Strength::VERYLOW);
6262
}
6363

64+
/**
65+
* If the source is currently available.
66+
* Reasons might be because the library is not installed
67+
*
68+
* @return bool
69+
*/
70+
public static function isSupported()
71+
{
72+
return true;
73+
}
74+
6475
/**
6576
* Generate a random string of the specified size
6677
*

0 commit comments

Comments
 (0)