Title: Foundations of Security, Protocols, and Equational Reasoning