# Should i hash or encrpt the data first? Why? [duplicate]

This question already has an answer here:

Lets say alice is trying to send data to bob , should alice first hash the data and then encrpt or vice versa