© Marius Iulian Mihailescu and Stefania Loredana Nita 2021
M. I. Mihailescu, S. L. NitaCryptography and Cryptanalysis in MATLABhttps://doi.org/10.1007/978-1-4842-7334-0_8

8. Hash Functions

Marius Iulian Mihailescu1   and Stefania Loredana Nita1
(1)
Bucharest, Romania
 

A hash function is a function that has the potential to map data of an arbitrary size to values that have a fixed size. The output of a hash function is known as a hash value, hash code, digest, or hash.

The values obtained as output are used to index a fixed-size table, known as hash table. The process of using a hash function to index a hash table is known as hashing or scatter storage addressing.

The goal of a hash function is essentially to guarantee the integrity of a message. With ...

Get Cryptography and Cryptanalysis in MATLAB: Creating and Programming Advanced Algorithms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.