Google interview question

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