🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Technology & Design › Cybersecurity › Security Operations: Monitoring, Defense, and Controls › Lesson 4
TEC-CYBE44-03 · Lesson 4 · 15 clock hours · theory

Cryptography Fundamentals: Encryption, Hashing, and Key Management

Objective. Students will explain symmetric encryption, asymmetric encryption, and hashing, identify common algorithms in each category, and describe proper key management practices.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

What Is Cryptography and Why Does It Matter?

Cryptography is the science of transforming data so that only authorized parties can read it. In security operations, cryptography protects data in transit, data at rest, and the integrity of systems and communications. Three core tools make this possible: symmetric encryption, asymmetric encryption, and hashing. Understanding how each works—and which algorithms are trustworthy today—is essential for every cybersecurity professional.

Symmetric Encryption

Symmetric encryption uses one shared secret key for both encrypting and decrypting data. Because both parties must possess the same key, secure key exchange is the central challenge. The advantage is speed: symmetric algorithms are computationally efficient and well-suited for encrypting large volumes of data.

The current gold-standard symmetric algorithm is AES (Advanced Encryption Standard). AES supports key lengths of 128, 192, and 256 bits. Longer keys provide greater resistance to brute-force attacks; AES-256 is widely recommended for sensitive data. AES replaced the older DES (Data Encryption Standard) and its successor 3DES, both of which are now considered deprecated due to small key sizes or practical attack vulnerabilities.

When using symmetric encryption, the key must be protected at the same level as the data itself. Exposing the key exposes everything it protects.

Asymmetric Encryption

Asymmetric encryption uses a mathematically linked key pair: a public key and a private key. Data encrypted with the public key can only be decrypted with the corresponding private key, and vice versa. This solves the key distribution problem: you can share your public key openly.

Common asymmetric algorithms:

Asymmetric encryption is slower than symmetric encryption, so in practice the two are combined. A common pattern: asymmetric encryption is used to securely exchange a symmetric session key, and then symmetric encryption handles the bulk data transfer. TLS uses this hybrid approach.

Digital signatures use asymmetric keys in reverse: the sender encrypts a hash of the message with their private key. Any recipient can verify the signature using the sender's public key, confirming both authenticity and integrity.

Hashing

A hash function takes input data of any size and produces a fixed-length output called a digest or hash. Hashing is a one-way operation—you cannot reverse a hash to recover the original data. Hashing does not encrypt data; it verifies integrity.

Properties of a secure hash function:

Common hash algorithms:

Hashing is used in password storage (combined with a salt—a random value added before hashing to prevent rainbow table attacks), file integrity verification, digital signatures, and certificate validation.

Key Management

Strong algorithms mean nothing if keys are poorly managed. NIST SP 800-57 provides the authoritative guidance on key management. Key practices include:

Safety and Professional Responsibility

In cybersecurity, "safety" extends to protecting systems and data that real people depend on. Using deprecated algorithms, storing keys carelessly, or skipping rotation schedules creates organizational risk and potential legal liability. Always verify that algorithm choices align with current NIST guidance and organizational policy before deploying any cryptographic solution.

Key terms10

Symmetric EncryptionAn encryption method that uses the same key for both encryption and decryption; fast and efficient for large data volumes but requires secure key sharing between parties.
Asymmetric EncryptionAn encryption method that uses a mathematically linked public/private key pair; the public key encrypts or verifies, and the private key decrypts or signs.
Hash FunctionA one-way mathematical function that converts input data of any size into a fixed-length digest used to verify data integrity, not to encrypt data.
AES (Advanced Encryption Standard)The current US government–approved symmetric block cipher supporting 128-, 192-, and 256-bit keys; considered secure and widely deployed.
Digital SignatureA cryptographic mechanism in which a sender encrypts a message hash with their private key; recipients verify authenticity and integrity using the sender's public key.
SaltA random value added to a password or data before hashing to prevent precomputed attacks such as rainbow tables.
Key RotationThe practice of replacing cryptographic keys on a regular schedule or after a security event to limit the impact of a potential key compromise.
Key EscrowA key management practice in which a copy of a cryptographic key is held by a trusted third party or authority to allow data recovery when the primary key holder is unavailable.
ECC (Elliptic Curve Cryptography)An asymmetric algorithm that provides strong security with shorter key lengths than RSA, making it efficient for mobile and resource-constrained devices.
Hardware Security Module (HSM)A dedicated physical device designed to generate, store, and manage cryptographic keys in a tamper-resistant environment.
In class: Use a provided algorithm reference sheet to classify AES, RSA, ECC, SHA-256, and MD5 by type, key length, and appropriate modern use case, noting which are considered deprecated or weak. · Illustrate the asymmetric key exchange process for a secure email scenario using a step-by-step diagram with labeled public and private keys. · Evaluate a sample key management policy for compliance with general best practices (key rotation, secure storage, key escrow), listing each gap found.
Materials: CompTIA Security+ Study Guide, NIST SP 800-57 (key management guidelines — publicly available), algorithm reference handout, diagramming software.
Check: Algorithm classification table is accurate; diagram correctly depicts the asymmetric process including both encryption and signature steps; policy evaluation identifies planted gaps at a rate of 75% or higher; quiz score 75% or higher.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

Threats, Attacks and Vulnerabilities / Cryptography
1. Which of the following best describes how symmetric encryption differs from asymmetric encryption?
Threats, Attacks and Vulnerabilities / Cryptography
2. A security analyst discovers that a legacy application is storing password hashes computed with MD5 without salting. What is the PRIMARY concern with this approach?
Architecture and Design / Cryptography
3. In a hybrid encryption scheme such as TLS, which role does asymmetric encryption typically serve?
Architecture and Design / Cryptography
4. Which algorithm and minimum key length are currently recommended for RSA to be considered secure against practical attacks?
Architecture and Design / Cryptography
5. A digital signature is verified using which key?
Implementation / Cryptography
6. According to general key management best practices aligned with NIST SP 800-57, what is the purpose of key rotation?
Architecture and Design / Cryptography
7. An organization needs to encrypt sensitive data on mobile devices with limited processing power. Which algorithm choice is MOST appropriate?
Threats, Attacks and Vulnerabilities / Cryptography
8. What property of a secure hash function ensures that changing a single character in the input produces a completely different hash output?
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.