PUBLICATION: The phantom thread between malleable and non-malleable cryptography © EURECOM. Personal use of this material is permitted. The definitive version of this paper was published in Thesis and is available at : Document