by Nogwater · 12y ago · 0 comments
This approach just seems dumb.
Of course, anyone who has a leak of the original passwords can equally just send a a double of it, so I'm not sure what benefit this is supposed to be offering.
"password123password123".match(/^(.+)\1$/)[1]