Text this: Physical reversibility and one-way function