Created a header for common functions used in many decryptions.