authpass
authpass copied to clipboard
Added Feature: Password Entropy
Looks like you are using a hardcoded set/number of characters!
Entropy should be calculated based the number of possible characters that the user has selected/checked.
And you don't need Regex for that.
It's a simple math formula: log2(charSetSize ^ passLength)
Both these numbers depend on user input, so entropy should be calculated on user input (Length change, or check/uncheck a character group)
@ilius do you think you could fix this implementation with your suggestion? 😅️
p.s. sorry for the late response to this PR, been a bit busy in the last few months