A Hash is when you: (i) perform a hash function, (ii) the input data is arbitrary, (iii) the output data has a fixed length but looks random in all other respects, and (iv) you need a cipher to recover the data from the fixed length output data. However, if you use the same algorithm, the fixed length output data will always be the same when the input data is the same.