pub fn parse_secret_hex(secret_hex: &str) -> Result<[u8; 32], String>
Parse a hex-encoded secret string into a 32-byte array