Generalized and Unified Equivalences between Hardness and Pseudoentropy