관련 데이터가 있는 확정된 인증 암호화 (확정된 AEAD) 원시 함수는 확정된 속성을 사용하여 암호화를 제공합니다. 동일한 데이터를 암호화하면 항상 동일한 암호문이 생성됩니다. 이 유형의 암호화는 키 래핑이나 암호화된 데이터를 검색하기 위한 일부 스킴에 유용합니다 (자세한 내용은 RFC 5297, 섹션 1.3 참고). 이 원시 유형은 결정론적 속성을 가지므로 공격자가 특정 메시지의 암호문을 알아내면 해당 메시지의 다른 인스턴스를 식별할 수 있으므로 이 원시 유형을 구현하면 비밀이 유출될 수 있습니다.
결정론적 AEAD에는 다음과 같은 속성이 있습니다.
Secrecy: 암호화되지 않은 텍스트의 길이와 반복된 암호화되지 않은 텍스트의 등식을 제외하고는 암호화되지 않은 텍스트에 관한 어떠한 정보도 알 수 없습니다.
신뢰성: 감지되지 않고는 암호문의 기본이 되는 암호화된 일반 텍스트를 변경할 수 없습니다.
대칭: 일반 텍스트를 암호화하고 암호문을 복호화하는 데 동일한 키가 사용됩니다.
결정론적: 기본 키가 변경되지 않는 한 동일한 매개변수로 일반 텍스트를 두 번 암호화하면 동일한 암호문이 생성됩니다.
관련 데이터
결정론적 AEAD는 암호문을 특정 연결된 데이터에 연결하는 데도 사용할 수 있습니다. 예를 들어 user-id 및 encrypted-medical-history 필드가 있는 데이터베이스가 있다고 가정해 보겠습니다. 이 시나리오에서 user-id는 encrypted-medical-history를 암호화할 때 연결된 데이터로 사용될 수 있습니다. 이렇게 하면 공격자가 한 사용자의 의료 기록을 다른 사용자로 이동할 수 없습니다.
키 유형 선택
모든 사용 사례에는 AES256_SIV 키 유형을 사용하는 것이 좋습니다.
보안 보장
인증 강도가 80비트 이상이어야 합니다.
일반 텍스트 및 연결된 데이터의 길이는 임의 (0~232바이트 범위)일 수 있습니다.
키 복구 공격에 대한 128비트 보안 수준, 최대 232 키를 사용하는 다중 사용자 공격에도 적용됩니다. 즉, 공격자가 232 키로 암호화된 동일한 메시지의 232 암호문을 획득하면 단일 키를 얻기 위해 2128 계산을 실행해야 합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-03(UTC)"],[[["Deterministic Authenticated Encryption with Associated Data (AEAD) encrypts the same data into the same ciphertext, useful for key wrapping or searchable encryption but revealing repeated messages."],["It offers secrecy (except for length and repetition), authenticity, symmetry, and determinism in encryption."],["While associated data is authenticated, it is not encrypted, allowing ciphertext binding to specific contexts like user IDs."],["The recommended key type is AES256_SIV, providing strong security guarantees including 128-bit security level and the capacity to encrypt numerous messages safely."],["Deterministic AEAD is suitable for scenarios where deterministic encryption and context binding are prioritized, such as preventing unauthorized data transfer in databases."]]],["Deterministic AEAD encrypts data deterministically, producing the same ciphertext for identical data. It offers secrecy (except for repeated plaintexts), authenticity, symmetry, and determinism. A key use is binding ciphertext to associated data for integrity. While offering strong security, repeated messages can reveal equality. Associated data is authenticated but not encrypted. The AES256_SIV key type is recommended, ensuring at least 80-bit authentication and 128-bit security against key recovery. It supports large messages and numerous encryptions.\n"]]