mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-06 10:52:31 +01:00
Update passwordStrength.ts
This commit is contained in:
parent
977861ad4e
commit
0aa100c8e0
@ -13,7 +13,7 @@ const blocklist: string[] = []; // TODO: update ones passwordblocklist is stored
|
|||||||
* - min <n> numbers
|
* - min <n> numbers
|
||||||
* - min <n> symbols
|
* - min <n> symbols
|
||||||
* - min <n> uppercase chars
|
* - min <n> uppercase chars
|
||||||
* - shannon entropy divided by password entropy
|
* - shannon entropy folded into [0, 1) interval
|
||||||
*
|
*
|
||||||
* Returns: 0 > pw > 1
|
* Returns: 0 > pw > 1
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user