'CSE(컴퓨터 공학) > 인공지능' 카테고리의 다른 글
Constraint satisfaction problems (0) | 2009.04.20 |
---|---|
Informed Search and Exploration (0) | 2009.04.18 |
Solving problem by searching (1) (0) | 2009.04.02 |
Constraint satisfaction problems (0) | 2009.04.20 |
---|---|
Informed Search and Exploration (0) | 2009.04.18 |
Solving problem by searching (1) (0) | 2009.04.02 |
ap-1 = 1(mod p)
also known as Fermat’s LittleTheorem
An alternative form of Fermat’stheorem is also useful
ap =a(mod p)
This form does not require that a be relatively prime to p
useful in public key and primality testingaø(n) = 1 (mod n)
for any a,n where gcd(a,n)=1 a와 n 은 서로소 이다.
if n is prime and gcd(a,n)=1, this is Fermat’s theorem. That is, aø(n) = an-1 = 1 (mod n)
n이 소수라면 페르마 정리랑 같아 진다.
eg.
a=3;n=10; ø(10)=4;
hence34 = 81= 1 mod 10
a=2;n=11; ø(11)=10;
hence210 =1024 = 1 mod 11
Alternative form of the Euler’s theorem also useful.
aø(n)+1 = a (mod n), where gcd(a,n)=1 a,n은 서로소 이다.
The probabilistic tests:
Most popular primality tests areprobabilistic tests
가장 유명한 테스트가 바로 확률 테스트다
These tests use, apart from thetested number n, some other numbers a which are chosen at random from some sample space
이 테스트들은 사용되는데 테스트 되는 숫자 n 과 다른 숫자 a가 서로 떨어진다. a 어떤 샘플 공간에서 랜덤적으로 선택이된다.
The usual randomized primality tests never report a primenumber as composite, but it is possible for a composite number to be reportedas prime
일반적으로 랜덤화하는 소수 테스트는 소수가 합성수로 보고가 되지 않는다, 하지만 합성수가 소수로 보고 되는 가능성이있다.
The probability of error can bereduced by repeating the test with several independently chosen as; for two commonly used tests
에러를 없애기 위해서 테스트 어떤 독립적인 선택된수 as 와 함게 반복적으로 테스트를 행한다; 두개의 널리쓰이는 테스트들이 있다.
For any composite n at least half the as detect n 's compositeness, so krepetitions reduce the error probability to at most 2−k, which can be made arbitrarilysmall by increasing k.
어떤 합성수 n은 적어도 aS의 절반이고 n의 합성수가 ?? 그래서 에러를 줄인다 뭐 이런 내용인듯??
Chapter5 Advanced Enctyption Standartd (0) | 2009.04.15 |
---|---|
필요한 약간의 이산수학 2 지식 (0) | 2009.04.15 |
보안 강의자료 중간고사 까지 모듬 (0) | 2009.04.14 |
Chater3 Block Ciphers & DES(Data Enctyption Standard) (0) | 2009.04.14 |
designed by Rijmen-Daemen in Belgium
has 128/192/256 bit keys, 128 bit data
an iterative rather than feistel cipher
treats data in 4 groups of 4 bytes
operates an entire block in every round
designed to be:
resistant against known attacks
speed and code compactness on many CPUs
design simplicity
요런 영어 특징들이 있으니 한번 읽어 보시길. 피스텔 암호보다 반복적이라고 나와있다.
Number Theory (0) | 2009.04.17 |
---|---|
필요한 약간의 이산수학 2 지식 (0) | 2009.04.15 |
보안 강의자료 중간고사 까지 모듬 (0) | 2009.04.14 |
Chater3 Block Ciphers & DES(Data Enctyption Standard) (0) | 2009.04.14 |