A machine readable program so formulated that a computer, as a shuffle verifying apparatus, in which an input message sequence, an output encrypted message sequence output by a device for shuffle verifying with proof, the transformation information retention commitment, output from a device for shuffle with proof, pertinent to retention of the transformation information from said input message sequence to said output encrypted message sequence, a transformation condition commitment, pertinent to the condition to be met by said transformation, and a shuffle proof text including a response, are input, and a result of verification indicating acceptance or non-acceptance is output, to perform the processing comprising:
- (a) transformation information retention verifying processing of verifying the retention of the transformation information from said input message sequence to said output encrypted message sequence from the input message sequence, output encrypted message sequence, transformation information retention commitment pertinent to retention of the transformation information from said input message sequence to said output encrypted message sequence, a response and challenge value;
- (b) transformation condition verifying processing of verifying the condition to be met by transformation from said input message sequence to said output encrypted message sequence from the transformation condition commitment pertinent to the condition to be met by said transformat ion, said response and the challenge value;
- and
- (c) processing of outputting acceptance as the result of the shuffle verification if both the verification of the transformation information retention verifying processing and the verification of the transformation condition verifying processing are accepted, and of outputting non-acceptance if otherwise.