working the code to get the decrypt functionality working.