© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
S. L. Nita, M. I. MihailescuCryptography and Cryptanalysis in Javahttps://doi.org/10.1007/978-1-4842-8105-5_8

8. Hash Functions

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

In information security, hash functions are an important cryptographic tool. They have applications in a wide range of use cases, such as securing passwords in a database, securing authentication, and maintaining message integrity.

In a few words, a hash function is a compression mathematical function that takes an input with any length and converts it into a string with a fixed length. The input can be almost anything such as text or different types of files. ...

Get Cryptography and Cryptanalysis in Java: Creating and Programming Advanced Algorithms with Java SE 17 LTS and Jakarta EE 10 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.