There is a lot of confusion between hash- and encryption algorithms; I would like to understand:
- When do we use a hash algorithm and when do we use aan encryption algorithm (a cipher)?
- How difficult it is to reverse hash- and encryption functionsalgorithms?
- From the theoretical/mathematical perspective, what differentiates a hash or- and encryption algorithm?