A program corresponding to a transmitting method according to an embodiment of the present invention is a program to be executed by a computer for controlling processing for transmitting, to a different apparatus, first encrypted data obtained by encrypting stream data including a plurality of consecutive unit data items in accordance with a first encryption technique prescribing that, when the st