For instance, the number theory of British mathematician Gottfried Hardy, who had boasted that none of his work would ever be found useful in describing any phenomena in the real world, helped establish cryptography.