보안 개발자

  • 홈
  • 태그
  • 방명록

Crypto 1

ChaCha20 stream cipher

ChaCha20ChaCha20은 4x4 행렬을 사용하는 블록 암호 알고리즘이다.(정확히는 stream cipher & 대칭키 암호) 각 행렬 요소는 32비트의 정수다.(512-bit blocks이고, 세세하게는 32-bit constant 4개, 256-bit key, 32-bit block counter, 96-bit nonce로 구성되어 있다.) 행렬은 16진수로 표현하였다.overviewFirst := input: [constants | key | counter | nonce] → ChaCha20 Block Function → output: [key_stream] Second := [key_stream] XOR [plaintext] = [ciphertext] First is ChaCha20 Bloc..

암호학 강의 2024.02.09
이전
1
다음
더보기
반응형
프로필사진

보안 개발자

  • 분류 전체보기 (51)
    • 워게임 (20)
      • Bandit (Linux Wargame) (18)
      • root-me(Web-Client) (1)
      • root-me(Cryptanalysis) (1)
    • 프로그래밍 (1)
      • CMake (0)
    • Network (10)
      • gRPC (1)
      • OpenSSL (7)
    • 암호학 강의 (14)
    • 임베디드 (2)
    • HSM 관련 (2)

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

Archives

Copyright © Kakao Corp. All rights reserved.

티스토리툴바