solutions with explanation. Secret phased solved using bruteforce.