A primer on the Zerocoin protocol and anonymous coins