The mathematical relation between the economic, cryptographic and information theoretical aspects of authentication