Replace decrypt with a more idiomatic approach.