Basics
Using AES, we can handle only 128 bit of pain text.
notation
Pain Text -> PT
Cypher Text -> CT
Cypher Key -> CK
ECB(Electronic Code Block)
PT1 PT2 … PTn with same CK
CBC(Cipher Block Chaining)
add IV(Initialization Vector) and loop
- [PT1] XOR IV
- (1) encrypt with CK
- [PT2] XOR (2)
- (3) encrypt with CK
Do it until PTn
CFB(Cipher FeedBack)

OFB(Output FeedBack)

CTR(CounTeR)

Galois Counter Mode
produce Tag(MAC) and CT

with AEAD(Authentication Encryption with Associated Data)
GCM plus steps in intitial GMAC XOR with associated Data(Protoco version, Port, Seq, Address, etc)

댓글
수정/삭제는 본문 작성 시 등록한 비밀번호가 필요합니다. 신고 버튼은 신고 사유를 Slack으로 전달합니다.