0
$\begingroup$

Thanks for registering for our super-not-spam mailing list! We'll let you unsubscribe if you can find a super-special password!

Here are the criteria for the password:

  • Matches the following regex expression: \w.\w\w
  • Includes 3 digits, 1 special character/symbol, and 4 letters
  • Contains the letter r and the numbers are between 0 and 5 (inclusive).
  • The sum of the ASCII codes for the password is 631.
  • The character in position 4 (zero-indexed) is not a lowercase letter.
  • The special character is before all three digits.
  • The digits add up to 10.
  • Two of the digits are the same.
  • The special character is between ! and #.
  • Exactly two of the lowercase letters and two of the digits are adjacent.

Password to unsubscribe: ________________________________

Can you find it? It will be obvious once you do. If you get a password that does not seem obvious, that's not the one you're looking for. Therefore, it might be helpful to write a program for this.

$\endgroup$
3
  • $\begingroup$ Just to clarify: "before" means "earlier in the password", but "between ! and #" means in ASCII value? (And I take it it's inclusive?) $\endgroup$
    – Gareth McCaughan
    Apr 6, 2021 at 15:46
  • $\begingroup$ @GarethMcCaughan -- Yes to the first question and ¯\_(ツ)_/¯ to the second. $\endgroup$ Apr 6, 2021 at 15:53
  • 3
    $\begingroup$ Given that no part of the password can be even partially deduced from the clues, this puzzle depends entirely on guessing and OP's definition of "obvious". So not my favourite. $\endgroup$
    – Bass
    Apr 6, 2021 at 16:23

1 Answer 1

2
$\begingroup$

It's probably meant to be

p@55W0rd

All of the conditions match, with "between ! and #" meaning

between the keys on a standard english QWERTY layout

$\endgroup$
9
  • 1
    $\begingroup$ On my keyboard, pretty much everything is "between" ! (at top left) and # (at bottom-ish right). Oh well. $\endgroup$
    – Gareth McCaughan
    Apr 6, 2021 at 16:35
  • 1
    $\begingroup$ @GarethMcCaughan -- Oh man, I should have been more specific/considerate of that. Well, now I know for next time. $\endgroup$ Apr 6, 2021 at 16:38
  • $\begingroup$ This is correct; nice job! $\endgroup$ Apr 6, 2021 at 16:39
  • $\begingroup$ @Voldemort'sWrath Btw, not sure if it's a red herring or you didn't know: \w not only matches [a-zA-z], but [a-zA-z0-9_], meaning any substring except the one starting at @ in this puzzle will match. I assume it was meant for the W0rd substring $\endgroup$ Apr 6, 2021 at 16:43
  • 1
    $\begingroup$ @vol . matches a single character, not any number of characters $\endgroup$
    – msh210
    Apr 7, 2021 at 3:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.