Removed being able to call digest with no data to digest
Minor changes