Password Problem solutions

Password Problem was solved using Groovy by 3 contestants. Solution sizes: average 1304 bytes (shortest: 774; longest: 1737).