Notes 20110117 CIS 6650 Computer Security

From SnOwy - Ed's Wiki Notebook

Jump to: navigation, search

Dr. Obimbo's Security Course

Contents

RSA Keys

Aside

Definitions

Caesar Shift

Modulus Math

LCM of 24, 36

24
3 * 8
3 * 2^3
36
4 * 9
2^2 * 3^2

Theorem 2

RSA

Modular Arithmetic

Theorem 3

If a and b are congruent; and c and d are congruent

Definition

Applying modular arithmetic (Gauss)

Corollary

HOMEWORK: Do the proof for this

Proof

Statistics

Constructive part

Contradiction part ...

Example 8 ...

System security

Groups

+   0   1   2   3   4   5
 6
0   0   1   2   3   4   5
1   1   2   3   4   5   0
2   2   3   4   5   0   1
3   3   4   5   0   1   2
4   4   5   0   1   2   3
5   5   0   1   2   3   4

Example

Example ...

Solving modular linear equations

15inv mod(47)

47 = 3(15) + 2
15 = 7(2) + 1
-----
1 = 15 - 7(2)

.
.
.

47 = 3(15) + 2 => 2 = 47 - 3(15) -->
15 = 7(2) + 1
-----
1 = 15 - 7(2) <--
  = 15 - 7(47 - 3(15))
  = 22(15) - 7(47)

.
.
.

47 = 3(15) + 2 => 2 = 47 - 3(15) -->
15 = 7(2) + 1
-----
1 = 15 - 7(2) <--
  = 15 - 7(47 - 3(15))
  = 22(15) - 7(47)
  = 22(15) + 8(47) (mod 15)

.
.
.

15inv mod(47) = 22
47inv mod(15) = 8

test ...

330 / 47 = 7 remainder 1 OK

---

New Example

15x congruent 4 (mod 47)
15inv 15x congruent 15inv 4 (mod 47)
x = 22(4) (mod 47)
x = 41

<<< 15inv (mod 47) = 22
>>> 47 - 15 = 22
<<< 88 (mod 47)
>>> 88 - 47 = 41

Read

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox