For STAT 368, randomly generate hundreds of passwords of varying length, hash them with multiple algorithms, and determine if the occurrence of a particular character in the original string influences the occurrence of that same character in the hashed string.