Bank of America interview question

What’s the differences between hashing and ecryption?