Change implementation for ff_data_to_hex(), this is faster. See discussion on