A hash is a mathematical function that transforms an input into an encrypted output of a fixed length. There are many different hashing algorithms that each follow a different process of converting that input into an output. Bitcoin uses the SHA-256 hashing algorithm. The most important aspect of this being that the process is one-way. You can not derive the input just from looking at the output given.