Home
Writeups Misc About
Bruce Schneier Password

Bruce Schneier's Password

We will exploit the fact that numpy's array class is int64. So, what we're gonna do is basically generate random passwords, with digits, lowercase and uppercase letters and hope that one of these passwords have both sum and product (overflowed) prime.

For this, we need password with three restrictions:

I guess the last criteria is luck. I managed to brute force this quite quickly. Also note that int64 on Linux and Windows are different for numpy for some reason.

(Dumb) Python script: