A protocol for decentralized authentication using Namecoin