If the function is injective the original can be reconstructed. If the function is a bijection any image can be inversely transformed.
If the function preserves distinct inputs (injective), the original can be retrieved. If the function maps each input uniquely and has an inverse (bijection), any output can be transformed back.