Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^3: Challenge: Hidden Message

by diotalevi (Canon)
on May 11, 2006 at 20:36 UTC ( #548832=note: print w/replies, xml ) Need Help??

in reply to Re^2: Challenge: Hidden Message
in thread Challenge: Hidden Message

It's just making a regex like \A[^\n]*(\w)[^\n]*\n(?:[^\n]*\1[^\n]*\n)+\z which just says, I captured $1 and it has to exist on every line. Higher # versions just capture more and assert the new digits, in order. It's really very simple. rx() could be improved if you pegged certain captures with specified characters. I'm searching the entire space so I'm slower.

What's this have to do with ATM PINs?

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Replies are listed 'Best First'.
Re^4: Challenge: Hidden Message
by Limbic~Region (Chancellor) on May 11, 2006 at 20:46 UTC
    The riddle setup is along the lines that when the website asking for your PIN does so, it will ask for it by creating a larger PIN and place the true values in positions W, X, Y, and Z (which change each time). You are then free to fill all the remaining positions with random numbers. The riddle itself is to determine the PIN after capturing a certain number of succesful logins. Forget I said ATM as this was web banking.

    Cheers - L~R

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://548832]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2021-04-21 12:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found