pub fn read_message( msg: Option<&String>, should_decode: bool) -> Result<Vec<u8>, Error>
checks if message is Some, otherwise reads message from stdin and optionally decodes hex