The phantom thread between malleable and non-malleable cryptography