Problem
hash_optional_fields in the hasher module repeats calls to hash_optional_string for each field, creating repetitive code.
Proposed Solution
Iterate over a collection of options instead of individual calls to:
- Simplify the implementation
- Make future extensions easier
- Reduce code repetition
Context