You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I noticed that the reverse of a password is not included in all the variants of a password.
shouldn't something like
passwords += [password.downcase.reverse]
be added.The text was updated successfully, but these errors were encountered: