Simplify the decrypt function