Pinocchio: Nearly Practical Verifiable Computation