Hashing functions take an input (or 'message') and return a fixed-size string of bytes. The output, typically a 'digest', is unique to each unique input. In gynecology, this can be used to hash patient identifiers, ensuring that even if data is intercepted, it cannot be easily read or misused.