Brute-force solution with adjustable known phrase

Speed-up