3 ms·
EDIT: Someone asked "What if someone used 111111 as their password?", I just answered with this regex: "111111111111".match(/^(.+)\1$/)[1]
by Aldo_MX 12y ago
EDIT: Someone asked "What if someone used 111111 as their password?", I just answered with this regex:
"111111111111".match(/^(.+)\1$/)[1]
- skywhopper 12y agoPresumably, "11111111" et al would not be valid passwords to begin with. But even if they were, so what?
- RubyPinch 12y agothe point being "111111" already appears doubled for example could just have the doubling check after the hash check though