-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels