diff --git a/content/posts/2021-07-09-cryptography.md b/content/posts/2021-07-09-cryptography.md index 98fa706..7341894 100644 --- a/content/posts/2021-07-09-cryptography.md +++ b/content/posts/2021-07-09-cryptography.md @@ -309,7 +309,7 @@ HMAC Process: - 주어진 메시지 $ M $과 비밀 키 $ K $에 대해, HMAC은 다음과 같이 계산된다: - $$ \text{HMAC}(K, M) = H((K' \oplus opad) \concat H((K' \oplus ipad) \concat M)) $$ + $$ \text{HMAC}(K, M) = H((K' \oplus opad) \text{concat} H((K' \oplus ipad) \text{concat} M)) $$ 여기서 $ H $는 해시 함수, $ K' $는 원래 키 $ K $를 내부 블록 크기에 맞게 조정한 것, $ opad $와 $ ipad $는 각각 외부 및 내부 패딩이다. HMAC은 키와 긴 메시지를 사용한 메시지 인증, 데이터 무결성, 데이터 출처 인증에 사용된다. \ No newline at end of file