Методы и средства защиты информации, контрольная работа, страница 3

2. Сгенерируем гамму шифра в соответствии с формулой .

, по условию задачи Т0=3.

Табл. 3а. Сгенерированная гамма шифра.

Т1= (Т0*10+5)mod 64

Т1= (3*10+5)mod 64=35mod 64=35

Т2=(Т1*10+5)mod 64

Т2=(35*10+5)mod 64=355mod 64=35

Т3=(Т2*10+5)mod 64

Т3=(35*10+5)mod 64=355mod 64=35

Т4=(Т3*10+5)mod 64

Т4=(35*10+5)mod 64=355mod 64=35

Т5=(Т4*10+5)mod 64

Т5=(35*10+5)mod 64=355mod 64=35

Т6=(Т5*10+5)mod 64

Т6=(35*10+5)mod 64=355mod 64=35

Т7=(Т6*10+5)mod 64

Т7=(35*10+5)mod 64=355mod 64=35

Т8=(Т7*10+5)mod 64

Т8=(35*10+5)mod 64=355mod 64=35

Т9=(Т8*10+5)mod 64

Т9=(35*10+5)mod 64=355mod 64=35

Т10=(Т9*10+5)mod 64

Т10=(35*10+5)mod 64=355mod 64=35

Т11=(Т10*10+5)mod 64

Т11=(35*10+5)mod 64=355mod 64=35

Т12=(Т11*10+5)mod 64

Т12=(35*10+5)mod 64=355mod 64=35

Т13=(Т12*10+5)mod 64

Т13=(35*10+5)mod 64=355mod 64=35

Т14=(Т13*10+5)mod 64

Т14=(35*10+5)mod 64=355mod 64=35

Т15=(Т14*10+5)mod 64

Т15=(35*10+5)mod 64=355mod 64=35

Т16=(Т15*10+5)mod 64

Т16=(35*10+5)mod 64=355mod 64=35

Т17=(Т16*10+5)mod 64

Т17=(35*10+5)mod 64=355mod 64=35

Т18=(Т17*10+5)mod 64

Т18=(35*10+5)mod 64=355mod 64=35

Т19=(Т18*10+5)mod 64

Т19=(35*10+5)mod 64=355mod 64=35