▪ 암호화방법
1. 대체(substitution)
1.비트, 문자 또는 문자의 블록을 다른 비트,문자 또는 블록으로 대체
Ci = E(Pi) = Pi+3
2. 치환(transposition/permutation)
1. 메시지의 문자를 재배치
평문 a b c d e f g h i j k l m n o p q r s t u v w x y z
암호문 D E F G H I J K L M N O P Q R S T U V W X Y Z A B C
혼돈(confusion )
Col1 Col2 Col3
Row1 a t t
Row2 a c K
Row3 x a T
Row4 x d A
row5 w n x
Col1 Col3 Col2
Row3 x a T
row5 w n x
Row1 a t t
Row4 x A d
Row2 a c K
확산(diffusion)
attacKxaTxdAwnx xaTwnxattxAdacK
▪ PKI(Public KeyInfrastructure)
CA(Cartification authority)
(Root)CA(Cartification authority)
RA(Registration authority) LDAP(lightweight directory access protocol)
OCSP(Online Certificate Status Protocol)
KICA : 한국정보인증
SignKorea : 코스콤
Yessign : 금융결제원
crossCert : 한국전자인증
TradeSign : 한국무역정보통신
User
한국인터넷진흥원
(KISA)
Other Country CA
USA : Verisign
TTP (Trusted Third Party)
- 인증서, CRL게시
- 타인증기관DS와의 연계
개인키, 공개키 생성
- 인증서, CRL 생성관리
- 등록관리, 정책관리, 가입자관리
- 신원정보확인/등록
7.
▪ 공인인증서
공인인증서 :공개키(public key)
개인키(private key)
데이터 규약 : ASN.1(ber/der)
PKCS5 : 패스워드기반 암호 표준
PKCS8 : 개인 키 정보 구문 표준
X.509 : 디지털 인증서 구조 표준
Counter(iterator)
salt
key
인증서 경로(certificate path)
개인키암호화방법
8.
▪ PBE(Password BasedEncryption)
• KEY DERIVATION → DECRYPTION
개인키(private key)
(Key Encryption Key)
(Random number generator
/ Pseudorandom number generator)
▪ OTP(One TimePassword)
1. 도전/응답(Challenge/response)
2. 이벤트동기방식 – 권장안함
• 토큰-서버의 카운트가 동일할 경우 동일한 패스워드 추출
클라이언트 웹서버
클라이언트 웹서버
Request login
Random number
finished
CE = H(Secret value + R) MAC(CE) SE = H(Secret value + R)
CE = SE verify