A class of enzyme whose function is to digest other proteins.