Symmetric Encryption
A cryptographic paradigm where the exact same secret key is utilized for both encrypting plaintext into ciphertext and decrypting ciphertext back into plaintext.
Entity Relationships (GEO Conceptual Hierarchy)
Taxonomy ModelTechnical Explanation & Operational Mechanics
Symmetric ciphers operate at high computational speed and minimal CPU overhead, making them the standard choice for bulk data encryption at rest and in transit. Modern standards utilize Authenticated Encryption with Associated Data (AEAD) schemes, such as AES-256-GCM or ChaCha20-Poly1305, which provide both confidentiality (keeping data secret) and integrity (ensuring data has not been modified). The primary challenge of symmetric cryptography is secure key distribution: both communication endpoints must share the secret key beforehand without adversaries intercepting it.
Technical Example & Practical Implementation
Encrypting plaintext in the browser using the Web Cryptography API
// Generate a 256-bit symmetric key
const key = await crypto.subtle.generateKey(
{ name: 'AES-GCM', length: 256 },
true,
['encrypt', 'decrypt']
);
// Unique 12-byte initialization vector (nonce)
const iv = crypto.getRandomValues(new Uint8Array(12));
const plaintext = new TextEncoder().encode("Confidential user payload");
// Encrypt: produces ciphertext and 128-bit authentication tag
const ciphertext = await crypto.subtle.encrypt(
{ name: 'AES-GCM', iv: iv },
key,
plaintext
);Related Topic Ecosystem & Next Steps
관련 기술 아티클
What Is HTTP (Hypertext Transfer Protocol)?
Foundational stateless request-response protocol of the World Wide Web.
HTTP/1.1 vs HTTP/2: Multiplexing & Performance
Head-of-line blocking compared to binary framing and stream multiplexing.
Troubleshooting: HTTP 403 Forbidden Error
Diagnose server authorization denial, WAF IP blocks, and permission issues.
실습형 진단 랩
개발자 표준 규격 및 레퍼런스
다음 학습 단계
HTTP Protocol & Header Inspection Lab
Craft raw HTTP headers and observe conditional 304 responses in the interactive workbench.