diff --git a/cryptographic-hash-functions/hash-functions-applications.md b/cryptographic-hash-functions/hash-functions-applications.md index d553ec7..f7eb737 100644 --- a/cryptographic-hash-functions/hash-functions-applications.md +++ b/cryptographic-hash-functions/hash-functions-applications.md @@ -20,7 +20,7 @@ The above example comes from the `/etc/shadow` file in a modern Linux system. Th ## Generate Unique ID -Generate an \(**almost**\) **unique ID** of certain document / message. Cryptographic hash functions almost uniquely identify documents based on their content. In theory **collisions are possible** with any cryptographic hash function, but are very unlikely to happen, so most systems \(like **Git**\) assume that the hash function they use is **collistion free**. +Generate an \(**almost**\) **unique ID** of certain document / message. Cryptographic hash functions almost uniquely identify documents based on their content. In theory **collisions are possible** with any cryptographic hash function, but are very unlikely to happen, so most systems \(like **Git**\) assume that the hash function they use is **collision free**. Usually a document is **hashed** and the **document ID** \(hash value\) is used later to prove the existence of the document, or to retrieve the document from a storage system. Example of hash-based unique IDs are the commit hashes in **Git** and **GitHub**, based on the content of the commit \(e.g. `3c3be25bc1757ca99aba55d4157596a8ea217698`\) and the **Bitcoin** addresses \(e.g. `1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2`\). @@ -38,5 +38,5 @@ In the above example the SHA-1 unique ID identifies a certain commit in GitHub. ## Cryptographic Hashes are Part of Modern Programming -**Cryptographic hash functions** are so widely used, that they are often implemented as **build-in functions** in the standard libraries for the modern programming languages and platforms. +**Cryptographic hash functions** are so widely used, that they are often implemented as **built-in functions** in the standard libraries for the modern programming languages and platforms.