"Cryptographic hash functions are mathematical operations run on digital data; by comparing the computed ""hash"" (the output from execution of the algorithm) to a known and expected hash value, a person can determine the data's integrity. A one-way hash function generates an output that is practically impossible to reverse without knowing the input data. Bitcoin uses SHA-256 and RIPEMD-160 hash functions."