pub fn legacy_password_hash(password: &str) -> u16Expand description
Legacy password hash used by Excel for workbook protection.
This is NOT cryptographically secure – it is the same hash algorithm
that Excel uses for the workbookPassword attribute. The result is a
16-bit value that is typically stored as a 4-character uppercase hex string.