Java implementation of AnonCoin.