authpass icon indicating copy to clipboard operation
authpass copied to clipboard

Added Feature: Password Entropy

Open aryanA101a opened this issue 3 years ago • 2 comments

aryanA101a avatar Dec 31 '20 14:12 aryanA101a

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 avatar Jan 22 '21 12:01 ilius

@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

hpoul avatar Jan 24 '21 10:01 hpoul