High School AdvancedA14.1Cryptography and Key Management Concepts
Lesson A14.1
Cryptography in System Design
Strong cryptography begins before an algorithm is selected. It begins with architecture questions: what are we protecting, where does trust cross a boundary, who owns the key, what happens when that key rotates, and how will the organization prove the design still works later?
This lesson uses fictional cryptographic architecture records and safe lifecycle metadata only. It does not require real keys, certificates, cracking, bypass, extraction, or attack testing.
High School Advanced • A14: Cryptography and Key Management Concepts • Lesson 1 of 10
10% complete
Readiness Check
A14.1 Entry Readiness
0/4 ready
Professional Hook
The Algorithm Is Only One Small Part of the Architecture
Imagine two systems both say “encryption enabled.” One has a named key owner, documented rotation, tested recovery, current certificate inventory, clear data classification, and monitoring. The other has an old key nobody owns and no record of what would happen during a restore. The technical label may look similar, but the architecture quality is completely different.
Cryptography becomes trustworthy when protection goals, key ownership, lifecycle, trust, resilience, and evidence all line up.
Learning Objectives
Five Capabilities for This Lesson
1
Explain cryptography as an architecture capability that supports confidentiality, integrity, authenticity, trust, and lifecycle rather than as a single feature called encryption.
2
Map where cryptographic protections belong across data in transit, data at rest, identity, application trust, software artifacts, backups, integrations, and recovery.
3
Evaluate fictional cryptographic design records using protection goal, owner, trust boundary, key or certificate dependency, lifecycle, resilience, and evidence.
4
Identify architecture risks such as unclear protection goals, duplicated key ownership, hidden legacy paths, missing recovery design, and stale cryptographic evidence.
5
Build a Cryptography Architecture Map that becomes the first artifact in the A14 Key-Management Design Recommendation.
Protection Goals
Cryptographic Controls Solve Different Problems
Confidentiality
Who should be able to read this data, and under what conditions?
Examples
Sensitive application data, stored records, backups, transport between services.
Cryptographic role
Encryption can reduce unauthorized disclosure when keys and access boundaries are governed correctly.
Important caution
Encryption does not automatically solve authorization, ownership, retention, or recovery.
Integrity
How can the architecture detect that data or an artifact changed unexpectedly?
Key and certificate management turns cryptography from a one-time configuration into a sustainable control.
Important caution
A strong algorithm with weak lifecycle governance can still create serious risk.
Resilience
What happens when a key, certificate, provider, device, or recovery path becomes unavailable?
Examples
Certificate expiration, key rotation, backup restoration, service migration, disaster recovery.
Cryptographic role
Recovery and redundancy planning preserve secure operations during change or failure.
Important caution
Recovery must not become a permanent bypass around normal trust controls.
Data States
Protection Requirements Change as Data Moves
Data in transit
Data moving between users, applications, services, networks, or external partners.
Design questions: Which endpoints communicate? What identity or service trust is required? Who owns the certificate or trust relationship?
Data at rest
Data stored in databases, object storage, local disks, file systems, archives, or backups.
Design questions: What storage contains sensitive data? Which key protects it? Who owns the key? What happens during restore?
Data in use
Data actively processed by an application or service.
Design questions: Which identities and workloads are allowed to process the data? What does cryptography not protect once authorized processing begins?
Data in backup
Copies stored for restoration, continuity, or archive purposes.
Design questions: Are backup copies protected consistently? Can recovery succeed if the key lifecycle changes?
Data in export
Reports, files, or data packages leaving the normal application boundary.
Design questions: Who can create exports, where are they stored, how are they protected, and what integrity or disclosure controls apply?
Data in integration
Information exchanged with partner systems, APIs, queues, or service-to-service workflows.
Design questions: Which service identities, certificates, transport protections, and partner trust relationships are required?
Architecture Placement
Where Cryptographic Responsibilities Live
Application layer
Protect application sessions, sensitive workflows, software artifacts, and application-owned data relationships.
Examples: Protected web sessions, signed application packages, application-level secrets governance.
Typical owner: Application Team / Application Security
Data layer
Protect databases, storage services, exports, archives, and backups.
Protect partner, vendor, API, and service-to-service trust relationships.
Examples: Partner certificates, service identity, protected transport, signed artifacts.
Typical owner: Integration Owner / Service Owner
Recovery layer
Preserve confidentiality and trust while supporting backup restoration, disaster recovery, and service migration.
Examples: Recovery keys, backup-key dependencies, certificate renewal during recovery.
Typical owner: Resilience / Platform / Security
Ownership
Cryptographic Architecture Has Multiple Accountable Owners
Data owner
Defines sensitivity, business purpose, retention, and acceptable disclosure risk.
Application owner
Defines how the application uses cryptographic services and what data flows require protection.
Key owner
Is accountable for key purpose, lifecycle, storage class, rotation, recovery, and retirement.
Certificate owner
Is accountable for certificate identity binding, renewal, expiration, revocation, and relying services.
Platform owner
Operates the service or infrastructure where cryptographic controls are implemented.
Governance owner
Defines policy, approved standards, exceptions, review cadence, and evidence expectations.
Architecture Principles
Eight Principles for Strong Cryptography Placement
Start with the protection goal
Choose cryptographic controls because they solve a defined confidentiality, integrity, authenticity, trust, or lifecycle problem.
Review: Can the team state exactly what the cryptographic control is supposed to protect?
Cryptography does not replace authorization
Encrypted data can still be overexposed to identities that are legitimately allowed to decrypt or use it.
Review: Are identity and access decisions governed separately from encryption?
Keys are part of the architecture
The key that protects data has ownership, lifecycle, storage, recovery, and dependency requirements.
Review: Can the design explain who owns the key and what happens when it rotates or becomes unavailable?
Certificates are trust relationships
Certificates are not only files; they connect identities, public keys, issuers, validity, and relying services.
Review: Can the team explain who trusts the certificate and why?
Crypto boundaries should match trust boundaries
Protection should follow where data crosses between users, services, systems, environments, or organizations.
Review: Does the map show where data crosses a boundary and what cryptographic relationship protects it?
Recovery must be designed with protection
A backup is not recoverable if its required key is lost or inaccessible during restoration.
Review: Can the organization restore protected data under realistic recovery conditions?
Lifecycle matters more than a one-time deployment
Keys and certificates age, rotate, expire, move, and retire.
Review: Does the architecture have defined lifecycle events and evidence?
Evidence should prove current state
Inventories, renewal records, rotation status, source health, and owner confirmation help verify that the cryptographic design is still valid.
Review: Is current evidence available, or is the team relying on old assumptions?
Vocabulary
Cryptography Architecture Terms
Cryptography
The use of mathematical techniques and managed trust relationships to support goals such as confidentiality, integrity, authenticity, and secure communication.
Encryption
A reversible protection process that transforms readable information into a protected form using a key.
Hashing
A one-way transformation used to produce a fixed-size digest that can support integrity and related security goals.
Digital signature
A cryptographic mechanism that can provide evidence about integrity and signer authenticity.
Certificate
A structured trust object that binds identity information to a public key under an issuing relationship.
Key
Cryptographic material used by an algorithm to perform operations such as encryption, decryption, signing, or verification.
Key lifecycle
The sequence of generation, approval, storage, distribution, use, rotation, recovery, revocation or retirement, and evidence.
Trust boundary
A point where data, identity, or responsibility crosses between systems, environments, organizations, or control domains.
Cryptographic dependency
A system relationship that depends on a key, certificate, trust anchor, or cryptographic service to function securely.
Rotation
The planned replacement of cryptographic key material or related trust objects according to policy or event triggers.
Revocation
The process of marking a certificate, key relationship, or trust object as no longer acceptable before its normal end of life.
Crypto inventory
A governed record of cryptographic assets, owners, purposes, dependencies, lifecycle states, and evidence.
Fictional Architecture Register
Seven Northbridge Cryptography Design Records
CRY-01Confirmed
Student Services Portal
Data
Student support session data
State
In transit
Protection goal
Confidentiality + service authenticity
Trust boundary
Browser ↔ Student Services Portal
Crypto dependency
Managed service certificate + transport protection
Key / trust owner
Platform Security
Data owner
Student Services
Lifecycle
Certificate renewal + endpoint policy review
Resilience
Renewal monitoring + emergency replacement path
Evidence
Current certificate inventory + endpoint monitoring
Architecture concern
Application authorization still determines which signed-in users may access student-support functions.
CRY-02Confirmed
Student Support Database
Data
Student support records
State
At rest
Protection goal
Confidentiality
Trust boundary
Database storage boundary
Crypto dependency
Managed storage encryption key
Key / trust owner
Data Platform
Data owner
Student Services
Lifecycle
Managed rotation + ownership review
Resilience
Restore procedure includes key availability
Evidence
Storage policy + key lifecycle metadata
Architecture concern
Encryption at rest does not replace database authorization or retention policy.
CRY-03Conditional
Reporting Export Workflow
Data
Sensitive generated report
State
Export
Protection goal
Confidentiality + integrity
Trust boundary
Reporting platform → approved export storage
Crypto dependency
Protected storage + integrity evidence
Key / trust owner
Analytics Platform
Data owner
Analytics Product Owner
Lifecycle
Export policy review + storage key lifecycle
Resilience
Fallback export workflow documented but not recently reviewed
Evidence
Current policy + stale fallback review
Architecture concern
The primary protection is current, but fallback evidence needs review.
CRY-04Conditional
Scheduling Integration
Data
Partner scheduling messages
State
Integration
Protection goal
Confidentiality + partner service authenticity
Trust boundary
Northbridge ↔ Scheduling Partner
Crypto dependency
Partner service certificate
Key / trust owner
Partner / Integration trust relationship
Data owner
Integration Owner
Lifecycle
Certificate renewal in 45 days
Resilience
Renewal owner and replacement window documented
Evidence
Current certificate + sponsor + renewal record
Architecture concern
Renewal must complete before expiration to avoid operational disruption.
CRY-05Blocked
Legacy Reporting Service
Data
Historical reporting output
State
At rest + integration
Protection goal
Historical confidentiality
Trust boundary
Legacy application ↔ report storage
Crypto dependency
Legacy encryption key
Key / trust owner
Unknown
Data owner
Reporting Operations
Lifecycle
No current rotation evidence
Resilience
Recovery dependency unclear
Evidence
Partial inventory + stale documentation
Architecture concern
Unknown key ownership and unclear recovery dependency prevent confident governance.
CRY-06Confirmed
Recovery Backup Repository
Data
Encrypted production backups
State
Backup
Protection goal
Confidentiality + recoverability
Trust boundary
Production services → recovery repository
Crypto dependency
Recovery-bound encryption key
Key / trust owner
Resilience Team
Data owner
Multiple service owners
Lifecycle
Rotation coordinated with recovery testing
Resilience
Restore test includes key-access validation
Evidence
Current recovery test + key inventory
Architecture concern
Future key changes must continue to be tested with realistic restore procedures.
CRY-07Confirmed
Software Release Pipeline
Data
Release artifact
State
Artifact
Protection goal
Integrity + authenticity
Trust boundary
Build system → deployment environment
Crypto dependency
Signing key + verification relationship
Key / trust owner
Release Engineering
Data owner
Application Team
Lifecycle
Signing-key rotation + release trust review
Resilience
Replacement signing process documented
Evidence
Artifact signature metadata + owner confirmation
Architecture concern
Verification must remain part of the deployment trust process rather than an optional check.
Fake Dashboard
Northbridge Cryptography Architecture Dashboard
Fictional protection goals, ownership, lifecycle, and evidence summary
Crypto records reviewed
7
Transport, storage, exports, integration, legacy, backup, and software-release protection
Confirmed
4
Modern transport, storage, backup, and release trust designs have current evidence
Conditional
2
Reporting fallback and partner certificate renewal need follow-up
Blocked
1
Legacy key ownership and recovery dependency are unresolved
CRY-05 protects a legacy reporting path, but the key owner is Unknown, rotation evidence is missing, and recovery dependency is unclear.
Defensive recommendation: Keep the design Blocked until ownership, current purpose, lifecycle, recovery, and modernization or retirement are resolved.
Cryptography vs. Authorization
Protected Data Can Still Be Overexposed
Encryption protects data from parties that do not possess or cannot access the required key relationship. It does not decide whether a legitimately authenticated application user should have access to the underlying business data. Those are separate architecture questions.
Cryptographic question
Is data protected from unauthorized disclosure or change while it crosses or remains inside this boundary?
Authorization question
Which identity or workload is allowed to access the resource or perform the action after trust is established?
Training note: this is fake data for defensive analysis practice only.
Analyze the Evidence
Evidence Analysis: Legacy Key Governance
The legacy reporting service still produces intermittent reports.
The encryption key owner is Unknown.
No current rotation evidence exists.
Recovery dependency is unclear.
The current inventory is Partial.
What is the strongest architecture conclusion for CRY-05?
Common Design Mistakes
Eight Ways Cryptography Gets Misplaced in Architecture
1
Encryption everywhere with no stated goal
Why it fails: Teams deploy cryptographic controls without explaining what confidentiality, integrity, authenticity, or trust problem they solve.
Better approach: Define the protection goal first and then choose the cryptographic capability.
2
Encryption treated as authorization
Why it fails: A team assumes encrypted data is safe even when too many identities are authorized to read it.
Better approach: Govern identity and authorization separately from cryptographic protection.
3
Keys hidden from architecture diagrams
Why it fails: The design shows encrypted databases but never shows key ownership, rotation, or recovery dependency.
Better approach: Treat keys as first-class architecture assets.
4
Certificates treated as static files
Why it fails: Renewal, expiration, issuer trust, relying-service dependency, and ownership are ignored.
Better approach: Model certificates as lifecycle-managed trust relationships.
5
Recovery designed after encryption
Why it fails: Backups are encrypted but restore plans never verify that the required keys are available during recovery.
Better approach: Test key availability as part of recovery design.
6
Legacy cryptography excluded from inventory
Why it fails: Old applications continue using keys or certificates nobody owns because modern inventory covers only new services.
Better approach: Keep legacy cryptographic dependencies visible until they are modernized or retired.
7
Same trust assumption across environments
Why it fails: Development, staging, and production reuse cryptographic relationships without considering environment boundaries.
Better approach: Treat environment as part of scope and ownership.
8
Evidence never refreshed
Why it fails: A design is considered secure because it was reviewed years ago.
Better approach: Use current inventories, lifecycle evidence, owner confirmation, and review triggers.
Scenario Decision Lab
Scenario Decision Lab 1 — Legacy Key With Unknown Ownership
A legacy reporting application still works and its stored reports are encrypted, but nobody can identify the current key owner or confirm the recovery dependency.
A partner service certificate is current and the integration is healthy, but the certificate expires in 45 days and renewal work is scheduled.
Safe Fictional Lab
Build a Cryptography Architecture Map
Use fictional applications, data flows, certificates, keys, owners, and evidence only. Do not inspect, export, manipulate, or test any real cryptographic material.
1
Create at least fifteen fictional cryptography architecture records.
2
Give every record a stable CRY ID.
3
Record the system or service.
4
Record the data or artifact being protected.
5
Record the data state: transit, rest, use, backup, export, integration, or artifact.
6
State the protection goal.
7
Identify the trust boundary.
8
Record the cryptographic dependency type.
9
Assign a key, certificate, platform, or trust owner.
10
Assign a data or application owner.
11
Record lifecycle requirements.
12
Record rotation or renewal triggers.
13
Record recovery dependencies.
14
Record evidence source and freshness.
15
Classify status as Confirmed, Conditional, Unknown, Blocked, Accepted Risk, or Not Applicable.
16
Include at least three transit examples.
17
Include at least three at-rest examples.
18
Include at least two certificate trust examples.
19
Include at least two integrity/signature examples.
20
Include at least two recovery or backup examples.
21
Include at least one legacy cryptographic dependency and keep it Blocked if ownership is unresolved.
22
Add change triggers for application, environment, owner, key, certificate, provider, data classification, and recovery changes.
Lab boundary
Do not use real private keys, certificates, passwords, secrets, tokens, encrypted files, or production cryptographic settings. This lab is architecture mapping only.
Analyze the Evidence
Evidence Analysis: Partner Certificate Lifecycle
The partner service certificate is currently valid.
The sponsor and integration owner are current.
The integration is functioning normally.
Certificate renewal is due in 45 days.
A replacement window is documented.
What is the strongest current status for CRY-04?
Advanced Challenge
Redesign a Fictional Crypto Architecture With Hidden Dependencies
A fictional organization has encrypted databases, protected web sessions, partner certificates, signed release artifacts, and encrypted backups, but its diagrams omit key ownership, renewal dates, recovery dependencies, and environment boundaries. Redesign the architecture model conceptually.
1
Protection goals
2
Data states
3
Trust boundaries
4
Key ownership
5
Certificate ownership
6
Data ownership
7
Environment scope
8
Rotation triggers
9
Renewal triggers
10
Recovery dependencies
11
Backup key availability
12
Artifact-signing trust
13
Partner trust lifecycle
14
Legacy key inventory
15
Evidence freshness
16
Architecture decision states
The goal is not to add cryptography everywhere. The goal is to make every important protection decision explainable, owned, lifecycle-aware, recoverable, and supported by current evidence.
Defender Habits
A14.1 Defender Checklist
Skill Check
Seven Questions
Check Your Understanding
A14.1 Mini Quiz: Cryptography in System Design
Choose your answers first. Explanations appear only after submission.
1. What should come first when designing a cryptographic control?
2. Which statement about encryption is strongest?
3. Why should keys appear in architecture reviews?
4. What is strongest for a certificate-based trust relationship?
5. Why should backup encryption be reviewed with recovery?
6. What is strongest for a legacy encryption key with Unknown owner and no current rotation evidence?
7. Which statement best describes cryptography in system design?
Portfolio Prompt
Portfolio Build — Cryptography Architecture Map
Create the first artifact for your A14 Key-Management Design Recommendation: a fictional Cryptography Architecture Map with at least fifteen records. Include CRY ID, system/service, data or artifact, data state, protection goal, trust boundary, cryptographic dependency, key/certificate/trust owner, data/application owner, lifecycle, rotation/renewal trigger, recovery dependency, evidence source, freshness, status, concern, next action, and change trigger.
Start with protection goals rather than algorithm names.
Include transit, rest, backup, export, integration, and software-artifact examples.
Keep keys and certificates visible as architecture dependencies.
Include at least one legacy Blocked finding.
Include recovery dependencies for protected backups.
Use fictional provider-neutral records only.
Confidence / Readiness Reflection
Are You Ready for A14.2?
A14.2 compares symmetric and asymmetric encryption concepts. Before continuing, make sure you can explain where encryption belongs in the architecture and why key relationships matter as much as the encryption mechanism itself.
1
I can distinguish confidentiality, integrity, authenticity, and trust goals.
2
I can map cryptography to transit, rest, backup, export, integration, and artifact states.
3
I can explain why key ownership and lifecycle are architecture concerns.
4
I can explain why encryption does not replace authorization.
5
I can keep legacy and stale cryptographic evidence visible instead of assuming it is safe.
Portfolio Build Guide
How to Make the Cryptography Architecture Map Look Professional
Lead with the protection goal
State whether the architecture is protecting confidentiality, integrity, authenticity, trust, lifecycle, or resilience.
Show the data state
Transit, rest, backup, export, integration, and artifact states often need different controls and owners.
Show the trust boundary
Make it clear where data or identity moves between systems, environments, or organizations.
Show key and certificate dependencies
Do not draw an encrypted database or trusted service without showing what trust material the design depends on.
Show ownership
Data owner, application owner, key owner, certificate owner, and governance owner may be different.
Show lifecycle
Rotation, renewal, recovery, revocation, and retirement should appear as architecture events.
Show evidence quality
Current, Partial, Stale, Missing, and Unknown evidence should affect confidence.
Connect forward
A14.2 will use this map to compare symmetric, asymmetric, and hybrid encryption roles.
Key Takeaways
What You Should Remember
1.Cryptography is an architecture capability, not a single checkbox.
2.Start with the protection goal before selecting a cryptographic mechanism.
3.Encryption supports confidentiality but does not replace authorization.
4.Hashing, signatures, certificates, and encryption solve different trust problems.
5.Keys and certificates are lifecycle-managed architecture assets.
6.Data in transit, at rest, in backup, in export, and in integration can have different protection needs.
7.Recovery must be designed together with key and encryption dependencies.
8.Legacy cryptographic paths should remain visible until they are owned, modernized, or retired.
9.Current inventories and lifecycle evidence are necessary to verify architecture claims.
10.The Cryptography Architecture Map will become the foundation for A14.2 Symmetric and Asymmetric Encryption Concepts.
Lesson Safety Boundary
Cryptography architecture learning does not require breaking cryptography
Do not attempt to crack encryption, recover keys, extract secrets, bypass certificate validation, downgrade protected connections, or manipulate real cryptographic systems. All keys, certificates, trust records, and evidence in this lesson are fictional.
Lesson Complete
A14.1 Cryptography in System Design Complete
You now have a system-level model for cryptographic protection, including goals, data states, trust boundaries, ownership, keys, certificates, lifecycle, recovery, and evidence. Next, A14.2 compares Symmetric and Asymmetric Encryption Concepts.