Skip to main content

Posts

Showing posts with the label #Data Integrity

Hashing: In Technical Terms

Hashing is a process of converting data (usually of arbitrary size) into a fixed-size string of characters or bytes using a mathematical algorithm called a hash function. The output of a hash function is commonly referred to as a hash value or hash code. So, why do we use hashing, let's check out some key points about hashing as below Deterministic Hashing is a deterministic process, meaning that for a given input, the hash function will always produce the same output. Fixed Size Output Regardless of the size of the input data, the output of a hash function has a fixed size. For example, the SHA-256 hash function produces a 256-bit (32-byte) hash value. One-Way Function Hash functions are designed to be one-way functions, meaning that it should be computationally infeasible to reverse the process and determine the original input from the hash value. Collision Resistance A good hash function minimizes the likelihood of producing the same hash value for different inputs. This propert...