theorem Th46:
for
n being non
zero Nat for
lk being
Nat for
Key1,
Key2 being
Matrix of
lk,6,
NAT for
r being
Nat for
m being
FinSequence of
NAT st
lk >= r &
(2 to_power n) + 1 is
prime &
len m >= 4 &
m . 1
is_expressible_by n &
m . 2
is_expressible_by n &
m . 3
is_expressible_by n &
m . 4
is_expressible_by n & ( for
i being
Nat st
i <= r holds
(
Key1 * (
i,1)
is_expressible_by n &
Key1 * (
i,2)
is_expressible_by n &
Key1 * (
i,3)
is_expressible_by n &
Key1 * (
i,4)
is_expressible_by n &
Key1 * (
i,5)
is_expressible_by n &
Key1 * (
i,6)
is_expressible_by n &
Key2 * (
i,1)
is_expressible_by n &
Key2 * (
i,2)
is_expressible_by n &
Key2 * (
i,3)
is_expressible_by n &
Key2 * (
i,4)
is_expressible_by n &
Key2 * (
i,5)
is_expressible_by n &
Key2 * (
i,6)
is_expressible_by n &
Key2 * (
i,1)
= INV_MOD (
(Key1 * (i,1)),
n) &
Key2 * (
i,2)
= NEG_MOD (
(Key1 * (i,3)),
n) &
Key2 * (
i,3)
= NEG_MOD (
(Key1 * (i,2)),
n) &
Key2 * (
i,4)
= INV_MOD (
(Key1 * (i,4)),
n) &
Key1 * (
i,5)
= Key2 * (
i,5) &
Key1 * (
i,6)
= Key2 * (
i,6) ) ) holds
(compose (((IDEA_P_F (Key1,n,r)) ^ (IDEA_Q_F (Key2,n,r))),MESSAGES)) . m = m