Pregunta de entrevista de Google

Given a dictionary of words, decrypt it using a given decrypt() function