Frage im Vorstellungsgespräch bei Google

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