libsnark: a C++ library for zkSNARK proofs