This will help you both understand the script by hashing out your thoughts, but also provide you with something to refer to in the future if you need to reference this script.
Any good cryptographic hashing algorithm should make finding a duplicate hash for an alternative plaintext difficult, even given a known message and its associated message hash.
You'll need a sharp knife and a wooden board for hashing up that meat.
Salting is generally something that is done when hashing a password, not when encrypting plaintext;
At all points in between, the message is protected, either for integrity (using hashing) or for privacy (using encryption).
Documents are stored among the directories at the leaf level using a hashing algorithm to evenly distribute files among these leaf directories.
When overridden in a derived class, serves as a hash function for hashing algorithms and data structures, such as a hash table.