A function that converts an input of letters and numbers into an encrypted output of a fixed length. In blockchains, hashes are used to secure transactions and control data structure.