Cryptocurrency and Blockchain Foundations · Foundation level

Cryptographic Security and Digital Signatures

Understand the cryptographic primitives used in digital-asset systems, including hashing, public-key cryptography, signatures, key derivation and secure key handling.

Academic draft: Full lesson text, learning activities and assessment questions are displayed as an academic draft for review. They are not an approved or open course. Enrolment, assessment submissions and recording, completion tracking and certificates are inactive.

COURSE OVERVIEW

What this course covers

Understand the cryptographic primitives used in digital-asset systems, including hashing, public-key cryptography, signatures, key derivation and secure key handling. The course approaches the subject as a set of connected systems and decisions. Students are expected to distinguish verifiable facts from assumptions, identify where a model is incomplete and explain the operational or financial risks that follow.

This school starts with the technical and economic foundations needed to evaluate digital assets carefully. It connects protocol design, cryptography, custody and governance rather than treating cryptocurrency as a price chart.

Related topics

  • cryptography for digital assets
  • cryptographic hash functions
  • entropy and secure randomness
  • public key cryptography explained
  • digital signature verification
  • private key security
  • seed phrase wallet security
  • hardware wallet signing
  • cryptographic key derivation
  • key compromise incident response

LEARNING OUTCOMES

What you should be able to explain

  • Explain the difference between hashing, encryption and signing.
  • Describe public/private key relationships and signature verification.
  • Create a threat model for key storage, recovery and signing workflows.

CURRICULUM

Course syllabus and module outline

  1. Security goals and adversary models

    Study the concepts, operating assumptions and failure cases behind security goals and adversary models. Connect the topic to the wider cryptographic security and digital signatures framework, then record the evidence and limitations that matter in practice.

  2. Hash functions, randomness and key derivation

    Study the concepts, operating assumptions and failure cases behind hash functions, randomness and key derivation. Connect the topic to the wider cryptographic security and digital signatures framework, then record the evidence and limitations that matter in practice.

  3. Public-key cryptography and digital signatures

    Study the concepts, operating assumptions and failure cases behind public-key cryptography and digital signatures. Connect the topic to the wider cryptographic security and digital signatures framework, then record the evidence and limitations that matter in practice.

  4. Seed phrases, signing and hardware security

    Study the concepts, operating assumptions and failure cases behind seed phrases, signing and hardware security. Connect the topic to the wider cryptographic security and digital signatures framework, then record the evidence and limitations that matter in practice.

  5. Cryptographic implementation pitfalls and incident response

    Study the concepts, operating assumptions and failure cases behind cryptographic implementation pitfalls and incident response. Connect the topic to the wider cryptographic security and digital signatures framework, then record the evidence and limitations that matter in practice.

LEARNING MATERIAL

Course lessons and learning activities

This is academic-draft teaching content published for curriculum review. It is not an approved or open course. Enrolment, assessment submissions and recording, completion tracking and certificates are inactive.

Estimated study time: 4 hours

MODULE 01

Security goals and adversary models

Module objective: Define confidentiality, integrity, authenticity and availability, and use threat modelling to identify assets, adversaries and trust boundaries.

LESSON 1.1

Security objectives and threat modelling for digital assets

Learning objectives

Explain confidentiality, integrity, authenticity and availability; identify assets and adversaries; and create a basic threat model for a digital-asset system.

1. Security objectives

Confidentiality limits access to information to authorised parties. Integrity helps detect or prevent unauthorised modification. Authenticity provides confidence about the origin of a message, key or transaction. Availability means that authorised users can access systems and services when needed.

These objectives are related but distinct. Encrypting a backup may protect confidentiality while doing little to ensure that the backup can be restored. A digital signature may support authenticity and integrity but does not guarantee that a computer is free from malware or that a transaction is economically appropriate.

2. Assets and trust boundaries

A threat model begins by listing assets: private keys, seed phrases, signing devices, wallet software, transaction data, recovery material, user identities and operational records. Identify where each asset is created, stored, used, transmitted and destroyed.

A trust boundary is a point where information or authority moves between components or people. Examples include a browser connecting to a wallet, an employee approving a treasury transfer, a hardware wallet receiving transaction data, or a backup being moved to secure storage. Each boundary creates assumptions that should be examined.

3. Adversaries and attack paths

Potential adversaries include opportunistic criminals, targeted attackers, malicious insiders, compromised suppliers and accidental operators. Their capabilities may include phishing, malware, physical theft, social engineering, credential reuse or exploitation of software defects. Do not assume that every attacker has unlimited resources; define plausible capabilities and the assets they might target.

An attack path is a sequence of steps that could lead to an unwanted outcome. For example: an attacker impersonates support, persuades an employee to reveal recovery words, and uses them to reconstruct a wallet. Controls should interrupt the path at multiple points.

4. Controls and residual risk

Controls may be preventive, detective or corrective. Examples include least privilege, multi-person approval, hardware signing, secure backups, monitoring, rehearsed recovery and incident escalation. No single control eliminates all risk. Record residual risks and assign an owner to each.

Applied case

A small treasury uses one laptop and one recovery phrase for all transfers. Identify the assets, likely adversaries, trust boundaries and at least five controls that reduce the chance of theft or permanent loss. Do not create or expose an actual recovery phrase.

Key takeaways

• Confidentiality, integrity, authenticity and availability are different security objectives.

• Threat modelling starts with assets, actors, trust boundaries and attack paths.

• People, processes and physical environments are part of the security system.

• Layered controls reduce risk but do not eliminate it.

• Recovery procedures should be tested without exposing production secrets.

Exercise

Draw a data-flow diagram for a fictional wallet. Mark where keys are generated, stored, used, backed up and recovered. For each boundary, list a plausible threat and a control.

MODULE 02

Hash functions, randomness and key derivation

Module objective: Explain cryptographic hash properties, entropy, secure randomness, key derivation and the differences between hashing and encryption.

LESSON 2.1

Hash functions, entropy and secure key derivation

Learning objectives

Distinguish hashing from encryption, describe important cryptographic hash properties, explain entropy and secure randomness, and outline the purpose of key derivation.

1. Hash functions

A cryptographic hash function accepts input of variable length and returns a fixed-length digest. A secure design aims for preimage resistance (difficulty finding an input for a given digest), second-preimage resistance (difficulty finding a different input with the same digest as a specified input) and collision resistance (difficulty finding any two different inputs with the same digest).

Hashing is not encryption. Encryption is designed to be reversible by someone with the appropriate key. A cryptographic hash is designed to be one-way in practical use. A digest can help detect changes, but it does not conceal the original data if that data is otherwise known or guessable.

2. Randomness and entropy

Cryptographic keys must be unpredictable. Entropy is a measure of uncertainty in a value. A secure random-number generator uses an appropriate source of entropy and a cryptographically secure construction to produce values that are difficult to predict.

Human-chosen passwords, dates, repeated patterns and improvised dice procedures may have far less entropy than people expect. A key generated from predictable material can be guessed even if it is later processed by a strong hash function. Strong cryptography cannot repair weak initial randomness.

3. Key derivation

Key derivation transforms input key material into one or more cryptographic keys. A key derivation function may use a salt and work factor to make password-derived keys more resistant to guessing. In wallet systems, hierarchical deterministic derivation can produce structured sets of keys from a root secret according to defined standards and paths.

Derivation paths and wallet standards matter for recovery and interoperability. Two wallets using the same root secret but different derivation paths may display different addresses. A user should rely on documented wallet recovery procedures rather than experimenting with secret material on untrusted websites.

4. Salts, passwords and secret handling

A salt is a non-secret value used in a derivation or password-hashing process to prevent identical inputs from producing identical stored outputs and to frustrate precomputed attacks. A salt does not make a weak password strong. Password hashing should use a suitable purpose-built algorithm and parameters.

Never paste seed phrases, private keys or passwords into online tools, support chats or code repositories. Educational exercises should use synthetic values clearly marked as non-secret.

Applied case

A team proposes generating wallet keys by hashing a company name and today's date. Explain why this is unsafe even if the hash function is modern. Propose a safer high-level approach using an approved cryptographic random-number generator and controlled key-generation environment.

Key takeaways

• Hashing, encryption and signing solve different problems.

• Secure hashes aim for preimage, second-preimage and collision resistance.

• Key security depends on unpredictable entropy at generation time.

• Key derivation standards and paths affect recovery and interoperability.

• A salt helps password-hashing designs but cannot rescue weak secrets.

Exercise

Create a comparison table for hashing, symmetric encryption, public-key encryption, digital signatures and key derivation. Include input, output, reversibility and primary security purpose.

MODULE 03

Public-key cryptography and digital signatures

Module objective: Explain public/private key pairs, signature creation and verification, key ownership assumptions and the limits of cryptographic proof.

LESSON 3.1

Public-key cryptography and digital signature verification

Learning objectives

Describe public/private key relationships, explain the high-level lifecycle of a digital signature, and identify the limits of signature verification.

1. Asymmetric key pairs

Public-key cryptography uses mathematically related keys. A private key must remain secret and is used for operations such as signing. A corresponding public key can be shared and used to verify signatures under the chosen scheme. The relationship allows a verifier to check a signature without learning the private key.

A public key is not the same as a wallet address, account name or identity certificate. Systems may encode or derive addresses from public-key material. The exact format and rules depend on the protocol.

2. Signature lifecycle

A signer first identifies the exact message or transaction to authorise. The signing system applies the protocol's required encoding and signing algorithm using the private key. A verifier receives the message, signature and public key, then checks whether the signature is valid for that message under the scheme.

In digital-asset systems, the signed message may commit to transaction details such as destination, amount, nonce, network or other fields. Wallet interfaces should make important fields understandable before signing. Signing the wrong message can be harmful even when the cryptography works exactly as designed.

3. What verification establishes

A valid signature supports the conclusion that the signature is mathematically consistent with the message and public key under the algorithm's assumptions. If the key-to-identity binding is trustworthy, it may also support attribution to that identity.

A signature alone does not prove who physically operated the device, whether the key was stolen, whether the signer understood the message, whether consent was freely given, or whether the transaction is lawful. It also does not guarantee that a recipient will perform an off-chain promise.

4. Domain separation and replay

Protocols use message formats and domain-separation techniques to prevent a signature intended for one context from being misused in another. Chain identifiers, nonces, typed-data domains and explicit message prefixes can help bind signatures to a particular application or network. Implementations must follow the exact standard; inventing custom signing formats can create replay or interpretation risks.

Applied case

An employee signs a transaction after a browser displays an unfamiliar message. The signature verifies correctly, but the employee did not understand the content. Explain why cryptographic validity does not establish informed approval. List the display and approval controls that could reduce this risk.

Key takeaways

• A private key signs; the corresponding public key verifies.

• The exact message and encoding matter as much as the key.

• Signature verification is not proof of identity, informed consent or legal validity by itself.

• Domain separation and replay protections bind signatures to the intended context.

• Users must inspect what a wallet is asking them to sign.

Exercise

Create a verification flow diagram with message preparation, signing, public-key distribution, verification and identity binding. Annotate the assumptions at each step.

MODULE 04

Seed phrases, signing and hardware security

Module objective: Examine mnemonic recovery phrases, hierarchical wallets, signing workflows, hardware devices and secure operational controls.

LESSON 4.1

Seed phrases, wallet signing and hardware security

Learning objectives

Explain the role and sensitivity of wallet recovery phrases, describe a transaction-signing workflow, and compare key security controls for software and hardware wallets.

1. Recovery phrases

Some wallet systems encode entropy and related recovery information as a sequence of words. The phrase can be used, with the relevant standard and optional passphrase settings, to derive wallet key material. Anyone who obtains sufficient recovery material may be able to reconstruct the wallet. It should therefore be treated as a high-value secret.

A recovery phrase is not an account password and should not be shared with a wallet provider, recruiter, exchange support agent or person claiming to help recover funds. No legitimate support process should require a user to disclose the full phrase. Do not store it in screenshots, email drafts, cloud notes or ordinary chat.

2. Transaction signing workflow

A transaction should be prepared in a trusted environment, transferred to the signing device, displayed in a form that allows meaningful review, approved by the authorised signer and then broadcast. The signer should verify network, destination, asset, amount, fee and any contract interaction. Address substitution malware and misleading contract prompts can undermine a workflow that checks only a shortened address.

For organisational treasuries, transaction preparation, approval and release should be separated where practical. Approval limits and independent verification reduce the risk of one compromised workstation or employee authorising an unauthorised transfer.

3. Hardware wallets and isolation

A hardware wallet is designed to keep private keys within a dedicated device and perform signing without exposing the key to the connected computer. The device can reduce some malware risks, but it cannot guarantee safety. Users must verify the transaction on the device screen, protect the recovery material, obtain authentic firmware and follow the manufacturer's security guidance.

Air-gapped or offline signing can reduce network exposure, but introduces operational complexity and does not remove risks from compromised software, malicious transaction data, physical access or poor recovery procedures.

4. Hot, warm and cold controls

Hot wallets are connected to online systems and may support operational convenience, but have greater exposure to online threats. Warm arrangements may use additional controls or limited connectivity. Cold storage keeps key material offline for stronger isolation, usually with slower operational access. These labels are not universal technical standards; organisations should document their actual architecture and controls.

A sound treasury policy sets limits, approvals, signer roles, backup locations, recovery tests, reconciliation and incident escalation. No single storage category replaces governance.

Applied case

A small organisation proposes storing its recovery phrase in a shared cloud document so several employees can access it. Identify the risks and design a safer multi-person custody and recovery policy using synthetic training material only.

Key takeaways

• Recovery phrases can reconstruct wallet keys and must remain secret.

• Signers should inspect transaction details on a trusted device.

• Hardware wallets reduce some key-exposure risks but do not eliminate all threats.

• Hot, warm and cold describe different operational trade-offs.

• Organisational controls include role separation, approval limits, secure backups and tested recovery.

Exercise

Build a key-management responsibility matrix for a fictional treasury. Include generation, storage, transaction preparation, approval, signing, backup, recovery and incident response. Do not use real keys or recovery phrases.

MODULE 05

Cryptographic implementation pitfalls and incident response

Module objective: Identify common cryptographic implementation errors and define containment, evidence preservation, recovery and post-incident review.

LESSON 5.1

Cryptographic failures, key compromise and incident response

Learning objectives

Identify common cryptographic implementation pitfalls, explain why custom cryptography is dangerous, and outline a response to suspected key compromise.

1. Implementation pitfalls

A sound algorithm can be undermined by poor implementation. Common failures include weak randomness, hard-coded secrets, key reuse across unrelated purposes, insecure memory handling, incorrect signature verification, missing domain separation, unsafe nonce handling and incorrect cryptographic parameter choices.

Developers should use well-maintained libraries and established standards rather than inventing cryptographic algorithms or signing formats. Dependencies must be reviewed and updated. Test vectors and independent review can help identify implementation errors, but do not replace a clear threat model and secure deployment process.

2. Secret lifecycle

Key management includes generation, distribution, storage, use, rotation where supported, backup, recovery and destruction. Each stage has different risks. A key that was generated securely may later be exposed through logs, crash reports, source control, backups or compromised endpoints.

Secrets should not be embedded in application source code or printed in logs. Access should be least-privilege and monitored. Recovery material should be protected against both unauthorised access and permanent loss, with documented custody and recovery responsibilities.

3. Suspected compromise

If a key may be compromised, treat it as a security incident. Follow the organisation's approved incident plan. Preserve relevant logs and evidence, restrict further exposure, notify authorised security and compliance personnel, and assess which systems and assets may be affected. Any movement of assets must follow a pre-approved emergency process and applicable legal requirements; do not improvise transactions under pressure.

Communications should use verified channels. Beware of fake support accounts, recovery services and unsolicited messages offering to retrieve funds. Record the timeline, affected addresses or systems, approvals and decisions without publishing secret material.

4. Recovery and lessons learned

After containment, determine the scope and root cause, validate the integrity of systems, rotate credentials where appropriate, restore from trusted backups and monitor for recurrence. For blockchain keys, rotation may require a carefully governed migration to new addresses or signing arrangements. That process must be authorised, verified and documented.

A post-incident review should identify control gaps, response delays, unclear ownership and improvements to training, architecture and monitoring. The objective is to reduce recurrence, not to assign blame without evidence.

Applied case

An employee reports that a recovery phrase may have been entered into a fake support website. Draft the first-hour incident checklist: who is notified, what evidence is preserved, what access is restricted, what must not be shared and which pre-approved decision authority governs any asset-protection action.

Key takeaways

• Strong algorithms can fail through weak randomness or incorrect implementation.

• Secret protection covers the entire lifecycle, not only storage.

• Suspected compromise requires a controlled incident response, not improvised action.

• Never disclose recovery phrases to support or recovery services.

• Document root causes and update controls after an incident.

Exercise

Prepare an incident response playbook for suspected signing-key compromise. Include detection, escalation, evidence, containment, recovery authority, communications and post-incident review.

LEARNER ASSESSMENT

Cryptographic Security and Digital Signatures — Final Knowledge Assessment

Total: 100 marks. Pass threshold: proposed 70%, subject to academic approval. These questions are displayed for review only; learners cannot submit or record an assessment result on this page.

Multiple-choice knowledge assessment (100 marks)

Select one answer for each question. This assessment tests conceptual understanding and safe key-management practices. Never use real private keys or recovery phrases in training exercises.

Question 1: Which security objective focuses on preventing unauthorised disclosure of information?

  1. Availability
  2. Confidentiality
  3. Integrity
  4. Non-repudiation

Question 2: What is a trust boundary in threat modelling?

  1. A guarantee that a system is secure
  2. A point where information or authority crosses between components or actors
  3. A cryptographic hash output
  4. A type of wallet address

Question 3: Which statement best distinguishes hashing from encryption?

  1. Hashing is designed to be one-way; encryption is designed to be reversible with an appropriate key
  2. Hashing always requires a private key
  3. Encryption cannot protect confidentiality
  4. They are identical operations

Question 4: Why is secure randomness important when generating cryptographic keys?

  1. It makes the key shorter
  2. It makes keys difficult to predict or guess
  3. It guarantees that transactions are reversible
  4. It removes the need for backups

Question 5: What is a primary purpose of a salt in password hashing?

  1. To encrypt the user's device
  2. To prevent identical passwords from producing identical stored hashes and frustrate precomputed attacks
  3. To make a weak password impossible to guess
  4. To reveal the original password

Question 6: What does a valid digital signature establish on its own?

  1. The signer is legally authorised in every jurisdiction
  2. The signer understood and freely approved the transaction
  3. The signature is mathematically consistent with the message and public key under the scheme
  4. The recipient will fulfil an off-chain promise

Question 7: Which key must remain secret in a typical public-key signature system?

  1. The public key
  2. The private signing key
  3. The transaction hash after broadcast
  4. The public address

Question 8: Why should users inspect transaction details on a hardware wallet screen?

  1. The screen guarantees that the recipient is honest
  2. It helps detect misleading transaction details or address substitution before signing
  3. It automatically reverses mistakes
  4. It removes all malware from the connected computer

Question 9: What is a key risk of a recovery phrase stored in a shared cloud document?

  1. It cannot be copied
  2. Anyone who gains access may reconstruct wallet keys and control assets
  3. It automatically expires after one day
  4. It is protected by blockchain consensus

Question 10: What is the appropriate first response to suspected signing-key compromise?

  1. Post the recovery phrase publicly to warn others
  2. Use an unsolicited recovery service immediately
  3. Follow the approved incident plan, notify authorised responders and preserve evidence without exposing secrets
  4. Delete all logs and messages

COURSE COMPLETION

Learning completion requirements

  • Review all five modules and their lessons.
  • Complete the applied exercises using fictional or synthetic information.
  • Review the final knowledge assessment; submissions and results are inactive.
  • Complete academic review before this material is approved for enrolment.

Completion tracking and certificates are not active until the Academy learning platform is implemented and approved.

GLOSSARY

Key terminology

APPLIED LEARNING

Practical case exercise

Build a key-management threat model for a small treasury and compare hot, warm and cold signing controls without handling real private keys.

The exercise is educational and uses hypothetical or historical information. It does not connect to a live brokerage, exchange, customer wallet or payment account.

ASSESSMENT DESIGN

How learning will be assessed

Knowledge checks, applied case analysis and a final assessment aligned to the published learning outcomes. Assessment formats and pass requirements will be confirmed in the live course syllabus.

When the assessment system is released, the approved Academy policy will allow up to three attempts per final examination. The proposed pass threshold is 70%, subject to the published syllabus and academic controls. Results are intended to be marked automatically where answers have objectively verifiable keys; assignments requiring judgement may require instructor review.

ENTRY GUIDANCE

Who this course is for

This foundation-level course is intended for learners who want a structured understanding of cryptographic security and digital signatures. It may be useful to students, analysts, fintech builders, operations teams and professionals who need to understand the subject's terminology and control environment.

Suggested preparation: No specialist trading experience is assumed. Familiarity with basic numeracy and reading explanatory diagrams is useful.

FURTHER READING

Primary and institutional references

Use original standards, technical documentation and institutional publications when checking details. Regulatory requirements vary by jurisdiction and may change.

COURSE QUESTIONS

Frequently asked questions

What does a cryptographic hash do?

A cryptographic hash maps input data to a fixed-length output and is designed to make it computationally difficult to find collisions or recover the original input.

How do public and private keys work together?

A private key is kept secret and used to create signatures. A corresponding public key can be used to verify those signatures under the cryptographic scheme.

Is a seed phrase the same as a wallet password?

No. A seed phrase can encode or derive wallet key material, while a password may protect access to a particular application or encrypted wallet file.

What should happen after a key compromise?

Treat the affected key as untrusted, follow a documented incident process, assess exposure and use an independently verified recovery or migration procedure. Never disclose secrets to support staff or websites.

Is this course currently open for enrolment?

This page contains academic-draft learning material for review, but the course is not approved or open for enrolment. Assessment questions are displayed for review only; submissions, assessment recording, completion tracking and certificates are inactive. Check the live education catalogue for courses explicitly published as available.

Does this course provide trading signals or promise profits?

No. It is an educational curriculum. It does not provide guaranteed outcomes, trading signals or personal investment recommendations.

Will I receive a NexaCrypto Academy certificate?

The approved Academy model distinguishes a Certificate of Completion from an examination-based Professional Certificate. Automated issuance will operate only after the learning, assessment and certificate systems are implemented and the learner meets the published eligibility rules.