check decrypt func pointer