strong_password icon indicating copy to clipboard operation
strong_password copied to clipboard

password variants

Open agronv opened this issue 6 years ago • 0 comments

I noticed that the reverse of a password is not included in all the variants of a password.

# Returns all variants of a given password including the password itself
def self.all_variants(password)
      passwords = [password.downcase]
      passwords += keyboard_shift_variants(password)
      passwords += leet_speak_variants(password)
      passwords.uniq
end

shouldn't something like passwords += [password.downcase.reverse] be added.

agronv avatar Sep 30 '19 18:09 agronv