CY-802-C Lightweight Cryptography

Lightweight Cryptography (CY-802-C) Important Questions

RGPV · B.Tech · Cyber Security · Semester 8 · Current scheme · 2 papers (2024 to 2025)

  1. Read the answers

    Start with the topics that come every year.

  2. Revise unit notes

    Go through each unit once to score more.

Paperwala Imp Topics - Lightweight Cryptography important questions

Download Paperwala Imp Question & Answer (PDF)

Counted from the questions in the past papers listed on this site. Repeated = how many times the topic came in those papers.

Lightweight Cryptography important questions with answers

Each answer starts with the short answer. Then come the points to write, a diagram and an exam tip. The questions under each topic are copied from the RGPV papers.

Q1. Lightweight cryptography: meaning, constraints, threats to tiny devices, why traditional algorithms do not fit, key size trade-offs

Asked 2 times in 2024, 2025 · Unit 1

From the papers

  • “Analyze the trade-offs involved in reducing the key size of a cryptographic algorithm. How does it impact security and efficiency?” (Jun 2025)
  • “What does "lightweight" mean in the context of cryptography?” (Jun 2025)
  • “Provide two reasons why traditional cryptographic algorithms might not be suitable for resource-constrained devices.” (May 2024)
  • “How might security threats for tiny devices differ from those for traditional computers?” (May 2024)

The short answer

Lightweight cryptography is cryptography designed for devices with very little chip area, memory, power or energy: RFID tags, sensors, smart cards, medical implants and IoT nodes. It gives enough security (usually at least 80 to 128 bits) at a much lower cost than standard algorithms such as AES, SHA-256 and RSA. Size is measured in gate equivalents (GE), one GE being the area of a two-input NAND gate.

Write these points

Why traditional algorithms do not fit small devices

  • Area: an RFID tag may spare 2,000 GE for security; small AES needs about 2,400 GE, SHA-256 over 10,000.
  • Energy and power: battery or harvested power; every clock cycle counts.
  • Memory: a few KB of RAM; large S-box tables and big keys do not fit.
  • Latency: some uses (memory encryption, car brakes) need a result in one clock cycle.
  • RSA needs huge modular arithmetic that takes seconds on an 8-bit microcontroller.

Threats for tiny devices compared with computers

  • Physical access: devices sit in the open, so side channel (power analysis, timing) and fault attacks are easy.
  • Cannot run antivirus or receive frequent patches.
  • Default or hard coded keys; weak or no random number generators.
  • Huge numbers of devices: one cloned key can affect millions.
  • Jamming and battery draining (sleep deprivation) attacks.

Design compromises

  • Smaller block (64 bits) and key (80 to 128 bits); simpler rounds but more of them.
  • Serialized hardware: fewer gates but more clock cycles.
  • Security margin traded against area, speed and energy; the triangle of security, cost and performance.

Key size trade-off.

64-bit key: 2⁶⁴ ≈ 1.8 × 10¹⁹ keys. At 10¹² tries per second: about 1.8 × 10⁷ seconds ≈ 213 days.

80-bit key: 2⁸⁰ ≈ 1.2 × 10²⁴ keys, about 38,000 years at the same speed.

128-bit key: about 10²⁵ years: far beyond any attack.

Each extra bit doubles the attack cost but adds only a few gates, so lightweight designs keep at least 80, preferably 128 bits.

Real-life example

A heavy steel safe protects a bank, but you cannot fit it in a wallet. Lightweight cryptography is a strong small lock made for the wallet.

Figure: constraints of small devices
Figure: constraints of small devices

Same or opposite: lightweight and conventional cryptography

PointLightweightConventionalSame or opposite
TargetSensors, RFID, IoTServers, PCs, phonesOpposite
Aims for confidentiality and integrityYesYesSame
Typical block and key64-bit block, 80 to 128-bit key128-bit block, 128 to 256-bit keyOpposite
Hardware sizeAbout 1,000 to 2,000 GE2,400 GE upwardOpposite

Exam tip. Define lightweight cryptography and GE. Give the area, energy, memory and latency reasons, the special threats and the key size calculation.

Back to the topic list

Q2. Modes of operation with lightweight block ciphers

Asked 2 times in 2024, 2025 · Unit 1

From the papers

  • “Explain the concept of a mode of operation in cryptography. Provide an example of a specific mode used with lightweight block ciphers.” (May 2024, Jun 2025)
  • “What does an "operation" mean in the context of a computer?” (May 2024)

The short answer

A block cipher encrypts only one fixed-size block (for example 64 bits). A mode of operation is the rule for using that cipher on longer messages: how blocks are chained, how an IV or nonce is used and whether integrity is added. For lightweight ciphers, CTR, CBC and authenticated modes such as CCM are common.

Write these points

Main modes

ModeHow it worksNote for small devices
ECBEach block aloneLeaks patterns; avoid
CBCXOR with previous ciphertext, then encryptNeeds decryption circuit and padding
CTREncrypt a counter; XOR with plaintextEncryption only, parallel, no padding
CFB, OFBCipher as a stream generatorEncryption only; error behaviour differs
CCM, OCB, GCMEncryption plus MAC (authenticated)CCM is used in IEEE 802.15.4 and ZigBee
  • Example: PRESENT or SIMON in CTR mode for sensor data; AES-CCM in ZigBee; ASCON (NIST lightweight standard) is itself an authenticated encryption scheme.
  • Never reuse a nonce with the same key in CTR: the XOR of two ciphertexts then reveals the XOR of the plaintexts.
  • Birthday bound: a 64-bit block cipher should be rekeyed before about 2³² blocks.

"Operation" in a computer

  • An operation is a basic action the processor performs: add, XOR, AND, shift, rotate, load, store.
  • Lightweight ciphers prefer cheap operations (XOR, rotation, 4-bit S-boxes) over costly ones (multiplication, big tables).

Birthday bound for a 64-bit block.

With n-bit blocks, collisions become likely after about 2ⁿᐟ² blocks.

For n = 64: 2³² blocks × 8 bytes = 32 GB of data under one key.

A sensor sending 100 bytes a minute takes thousands of years to reach that, so it is safe.

A video stream at 5 MB/s reaches 32 GB in under 2 hours, so it must rekey often.

Real-life example

A photocopier copies one page at a time. The mode of operation is the rule for copying a whole book so that pages stay in order and nobody can swap them.

Figure: CTR mode with a lightweight block cipher
Figure: CTR mode with a lightweight block cipher

Same or opposite: CBC and CTR mode

PointCBCCTRSame or opposite
Parallel encryptionNoYesOpposite
Hides patterns in plaintextYesYesSame
Needs the decryption functionYesNoOpposite
PaddingNeededNot neededOpposite

Exam tip. Define mode of operation. Give the modes table and why CTR or CCM suits lightweight ciphers. Add nonce reuse and the 2³² block limit.

Back to the topic list

Q3. Design strategies for lightweight block ciphers: S-boxes, design choices and cryptanalysis

Asked 2 times in 2024, 2025 · Unit 2

From the papers

  • “Lightweight block ciphers often target specific resource constraints (e.g., area, power consumption). How can these design choices impact the resistance of the cipher against different cryptanalytic attacks?” (Jun 2025)
  • “Describe design strategies for lightweight block ciphers. How do these differ from the design of traditional block ciphers like AES?” (May 2024)
  • “The security of a cryptographic algorithm relies heavily on its public scrutiny. Discuss the importance of open design and cryptanalysis in ensuring the long-term viability of lightweight block ciphers.” (May 2024)
  • “Briefly describe the function of a substitution box (S-Box) in a block cipher.” (May 2024)

The short answer

Lightweight block ciphers are designed to give good security with the fewest gates, least energy or lowest latency. They use small S-boxes (4-bit), simple linear layers (bit permutations, rotations, XOR), simple key schedules and more rounds. Their security depends on open design and public cryptanalysis, as with AES.

Write these points

Design strategies compared with AES

AspectAESLightweight cipher
S-box8-bit (256 entries)4-bit (16 entries), for example PRESENT's S-box
Linear layerMixColumns over GF(2⁸)Bit permutation (free in hardware), rotations, XOR
Block and key128-bit block, 128 to 256-bit key64-bit block, 80 to 128-bit key
Key scheduleComplexVery simple or none (LED, PRINCE)
StructureSPNSPN (PRESENT), Feistel (SIMON, TWINE), ARX (SPECK)

Function of an S-box

  • Substitutes each small input block with another value from a table: the only non-linear part of many ciphers.
  • Gives confusion: hides the relation between key and ciphertext.
  • Good S-boxes have low differential uniformity and low linearity, resisting differential and linear attacks.
  • 4-bit S-boxes are cheap (about 20 to 30 GE each) but need more rounds.

Impact of design choices on attacks

  • Fewer rounds or simple key schedules can open related key and slide attacks.
  • Small blocks hit the birthday bound sooner.
  • Serialized, low-power hardware can leak more through side channels; masking adds area.
  • Open design and cryptanalysis: years of public attack (as for PRESENT since 2007) give trust; secret designs (Crypto-1 in MIFARE cards) were broken once revealed.

Area saving from a 4-bit S-box.

AES uses 16 copies of an 8-bit S-box, each a few hundred GE.

PRESENT uses 16 copies of one 4-bit S-box, each about 28 GE: about 450 GE in total, or one copy if serialized.

Its permutation layer is just wiring: 0 GE.

Result: PRESENT-80 in about 1,570 GE against about 2,400 GE for the smallest AES.

Real-life example

A family car and a racing bicycle both carry a person. The bicycle drops every heavy part it can, but its frame is still tested hard. Lightweight cipher design does the same.

Figure: one round of PRESENT
Figure: one round of PRESENT

Same or opposite: 4-bit and 8-bit S-boxes

Point4-bit S-box8-bit S-boxSame or opposite
Entries16256Opposite
Gives non-linearity (confusion)YesYesSame
Hardware costAbout 20 to 30 GEHundreds of GEOpposite
Rounds neededMoreFewerOpposite

Exam tip. Give the design comparison table with AES and define the S-box with confusion. Explain how cutting area can weaken a cipher, then stress open design with the MIFARE lesson.

Back to the topic list

Q4. Lightweight block ciphers: DESL, DESXL, PRESENT, CLEFIA, LED, SIMON, SPECK, TWINE, PRINCE, MIDORI, RECTANGLE, GRANULE

Asked 2 times in 2024, 2025 · Unit 2

From the papers

  • “Briefly describe the unique features of one of the less common ciphers listed (PRINCE, MIDORI, RECTANGLE or GRANULE).” (Jun 2025)
  • “How do the specific lightweight operations used in ciphers like SIMON and SPECK impact their performance compared to traditional block ciphers?” (Jun 2025)
  • “Identify two block ciphers from the list (LED, SIMON and SPECK, or TWINE) that utilize lightweight versions of existing operations.” (Jun 2025)
  • “Briefly describe the design philosophies behind two of the listed lightweight block ciphers (DESL/DESXL or PRESENT/CLEFIA).” (May 2024)

The short answer

Many lightweight block ciphers exist, each tuned for one goal. PRESENT and CLEFIA are ISO/IEC 29192-2 standards. DESL and DESXL slim down DES. LED, SIMON, SPECK and TWINE reuse lightweight versions of known operations. PRINCE, MIDORI, RECTANGLE and GRANULE target low latency, low energy, bit-slice speed and small size.

Write these points

CipherBlock and keyKey idea
DESL64 / 56DES with one S-box repeated eight times; initial and final permutations removed
DESXL64 / 184DESL plus key whitening (XOR keys before and after), as in DESX
PRESENT64 / 80 or 128SPN, 31 rounds, one 4-bit S-box, bit permutation; about 1,570 GE
CLEFIA (Sony)128 / 128 to 2564-branch generalized Feistel, two S-boxes, diffusion switching
LED64 / 64 or 128AES-like on 4-bit cells, PRESENT S-box, no key schedule
SIMON, SPECK (NSA)32 to 128 / 64 to 256SIMON: Feistel with AND, rotate, XOR (hardware). SPECK: ARX (software)
TWINE64 / 80 or 12816-branch generalized Feistel with block shuffle, 4-bit S-box
PRINCE64 / 128Unrolled for one clock cycle; α-reflection: decryption is encryption with a related key
MIDORI64 or 128 / 128Designed for lowest energy per bit; binary almost-MDS matrix
RECTANGLE64 / 80 or 128Bit-slice design, fast in both hardware and software
GRANULE64 / 80 or 128Compact Feistel design with small area

Effect of SIMON and SPECK operations

  • They avoid S-box tables and multiplication: only AND, rotation, modular addition and XOR.
  • SIMON's AND gates are tiny in hardware; SPECK's addition is one instruction in software.
  • Result: high throughput per area and very small code size on 8, 16 and 32-bit CPUs.
  • Trade-off: more rounds are needed. Security rests on public analysis, since the NSA gave limited design rationale.

Choosing a cipher.

Passive RFID tag with 1,800 GE free: PRESENT-80 fits; AES does not.

8-bit microcontroller sensor: SPECK-64/128 runs fast with tiny code.

Memory encryption needing one clock cycle: PRINCE.

Battery medical implant: MIDORI or a low-energy mode.

Real-life example

Shoes for running, climbing and dancing differ even though all are shoes. Each lightweight cipher is a shoe for one kind of device.

Figure: SIMON and SPECK rounds
Figure: SIMON and SPECK rounds

Same or opposite: SIMON and SPECK

PointSIMONSPECKSame or opposite
Core operationsAND, rotation, XORAddition, rotation, XOROpposite
Designed by the NSA in 2013YesYesSame
Best onHardwareSoftwareOpposite
StructureFeistelARXOpposite

Exam tip. Fill the cipher table with block, key and key idea for the ciphers asked. Explain how SIMON and SPECK operations give speed. Match ciphers to devices.

Back to the topic list

Q5. Key management: concept, resource-constrained challenges, centralized and distributed approaches

Asked 2 times in 2024, 2025 · Unit 4

From the papers

  • “Compare and contrast centralized and distributed key management approaches for lightweight cryptography. Discuss the security implications of each approach.” (May 2024, Jun 2025)
  • “What is the concept of key management in cryptography?” (Jun 2025)
  • “Explain the concept of key management in cryptography. Describe a specific challenge associated with key management for resource-constrained devices.” (May 2024)

The short answer

Key management covers the whole life of cryptographic keys: generation, distribution, storage, use, rotation, revocation and destruction. Strong algorithms are useless if keys leak. For tiny devices it is the hardest part: there is little memory to store keys, little energy for key exchange and no secure place to hide them.

Write these points

Challenges for resource-constrained devices

  • Secure storage: no TPM or secure element on cheap chips; keys can be read physically.
  • Distribution: public key exchange is costly; pre-loading keys is inflexible.
  • Revocation and update of keys on millions of devices in the field.
  • Random number generation for fresh keys is weak.
  • Device capture: one stolen node must not expose the whole network.

Centralized and distributed approaches

PointCentralizedDistributed
Who makes keysOne key server or gatewayDevices together (contributory, for example group Diffie-Hellman)
Cost for devicesLowHigher computation and messages
Single point of failureYesNo
ScalabilityLimited by the serverBetter
Security implicationsServer compromise exposes all keys; easy policy controlNo single target; harder to audit, needs trust among nodes
  • Decentralized middle path: subgroups with local managers (Iolus).

A challenge in practice.

A smart meter maker loads one shared AES key into 1 million meters.

An attacker reads the key from one meter with a probe.

Every meter is now exposed: the cost of one attack spreads to all devices.

Fix: a unique key per device derived from a master key and the device ID, with a key server that can revoke a single meter.

Real-life example

A hostel with one master key at the warden's office is centralized: easy, but lose that key and every room opens. Students agreeing locks among themselves is distributed.

Figure: key life cycle
Figure: key life cycle

Same or opposite: centralized and distributed key management

PointCentralizedDistributedSame or opposite
Key generationOne serverShared among membersOpposite
Must handle rekeying when members changeYesYesSame
Single point of failureYesNoOpposite
Load on devicesLowHighOpposite

Exam tip. Define key management and its life cycle stages. List five challenges on small devices, then give the centralized versus distributed table with security implications.

Back to the topic list

Q6. Lightweight group key management for IoT: symmetric and asymmetric constructions

Asked 2 times in 2024, 2025 · Unit 4

From the papers

  • “Explain how asymmetric key management can be used in a group key management protocol for IoT devices.” (May 2024, Jun 2025)
  • “While asymmetric cryptography offers benefits, it can be computationally expensive for resource-constrained devices. Describe specific techniques used to make asymmetric key management more lightweight for IoT.” (Jun 2025)
  • “New lightweight group key management protocols are constantly being proposed. What are the key considerations when evaluating the suitability of a new protocol for a specific IoT application?” (May 2024)

The short answer

Group key management (GKM) gives a shared group key to many IoT devices so that one encrypted message reaches all of them. When a device joins or leaves, the key must change: backward secrecy (a new member cannot read old messages) and forward secrecy (a member who left cannot read new ones). Lightweight GKM does this with few messages, little computation and little storage.

Write these points

Symmetric constructions

  • Logical key hierarchy (LKH): a key tree; each device holds the keys on its path to the root.
  • Rekeying after a leave changes only log₂ n keys, so about 2 log₂ n messages instead of n.
  • Uses only symmetric encryption and hashing: cheap for sensors.
  • Variants: one-way function trees, key chains, polynomial based schemes.

Asymmetric constructions and making them lightweight

  • Public keys let devices join without pre-shared secrets and support authentication.
  • ECC instead of RSA: a 256-bit ECC key equals a 3,072-bit RSA key in strength.
  • Implicit certificates (ECQV), certificateless and identity-based cryptography remove certificate chains.
  • Precomputation and offloading heavy steps to the gateway; public keys used only once to set up symmetric keys.

What to check in a new GKM protocol

  • Security: forward and backward secrecy, collusion resistance, resistance to node capture.
  • Cost: messages per rekey, computation, storage, energy.
  • Scalability and handling of frequent joins and leaves.
  • Fit: network topology, standards, latency and a published security proof.

LKH saving.

A group of 1,024 devices; one device leaves.

Flat scheme: the server sends the new key to each of the 1,023 others: 1,023 messages.

LKH: log₂ 1024 = 10 keys change; about 2 × 10 = 20 messages.

Each device stores only 11 keys.

Real-life example

A WhatsApp group admin changing the group code each time someone leaves would have to tell every member separately. A key tree tells small subgroups at once, saving effort.

Figure: logical key hierarchy
Figure: logical key hierarchy

Same or opposite: symmetric and asymmetric group key management

PointSymmetric (LKH)Asymmetric (ECC based)Same or opposite
ComputationVery lowHigherOpposite
Gives forward and backward secrecyYesYesSame
Needs a trusted key serverYesOften noOpposite
Authentication of new membersNeeds pre-shared keysBuilt inOpposite

Exam tip. Define GKM with forward and backward secrecy. Explain LKH with the 2 log₂ n count and the ECC techniques that make asymmetric GKM light. List evaluation criteria.

Back to the topic list

Q7. Lightweight key management in IPsec and TLS; key needs of cyber physical systems and IoT

Asked 2 times in 2024, 2025 · Unit 4

From the papers

  • “How can lightweight key management be integrated into protocols like IPSec or TLS for securing communication in resource-constrained environments?” (May 2024, Jun 2025)
  • “Cyber Physical Systems (CPS) and IoT devices: how do the key management requirements differ between these domains, and how does this influence the choice of a lightweight key management approach?” (Jun 2025)

The short answer

Standard secure channel protocols, IPsec and TLS, are heavy for IoT: big certificates, many handshake messages and costly public key steps. Lightweight key management fits them to small devices with pre-shared keys, raw public keys, session resumption, header compression and lightweight versions such as DTLS and EDHOC. Cyber physical systems (CPS) and IoT need different key management because their goals differ.

Write these points

Making IPsec and TLS lightweight

  • Pre-shared keys (PSK) in IKEv2 and TLS 1.3: no certificates, a short handshake.
  • Raw public keys (RFC 7250) instead of full X.509 chains.
  • Session resumption and long-lived session keys reduce full handshakes.
  • DTLS over UDP for CoAP; EDHOC with OSCORE for very small messages.
  • ECC (ECDHE, EdDSA) and AES-CCM-8 cipher suites; 6LoWPAN header compression for IPsec.

CPS and IoT key requirements

PointCyber physical systemsIoT devices
ExamplesPower grid, factory control, rail signalsWearables, smart homes, sensors
First priorityAvailability and safety, real timeLow cost, energy, scale
Life15 to 30 years2 to 5 years
MembershipFixed, known topologyDynamic, joins and leaves
Suitable approachPre-planned keys, hierarchical, deterministic timingLightweight GKM, PSK or ECC, cloud provisioning

Handshake cost.

A full TLS 1.2 handshake with an RSA certificate chain can send about 4 to 6 KB.

TLS 1.3 PSK resumption sends a few hundred bytes in one round trip.

On an 802.15.4 radio with about 100-byte frames, that is dozens of frames against a handful.

Each frame costs battery, so PSK and resumption extend device life.

Real-life example

Showing your full passport at every shop is the full handshake. A regular customer card that the shop recognizes at once is session resumption.

Figure: lightweight secure session
Figure: lightweight secure session

Same or opposite: TLS and DTLS

PointTLSDTLSSame or opposite
TransportTCPUDPOpposite
Agrees keys and encrypts trafficYesYesSame
Handles lost packetsThrough TCPOwn retransmissionOpposite
Typical IoT useMQTT over TCPCoAPOpposite

Exam tip. List the techniques that lighten IPsec and TLS (PSK, raw public keys, resumption, DTLS, EDHOC). Give the CPS versus IoT table and how it changes the key approach.

Back to the topic list

Q8. Lightweight hash functions compared with traditional hashes

Asked 2 times in 2024, 2025 · Unit 3

From the papers

  • “Compare and contrast the design principles of traditional hash functions (e.g., SHA-256) with lightweight hash functions. How do these differences impact performance and security?” (Jun 2025)
  • “Describe the purpose of a cryptographic hash function. Provide an example of a real-world application that utilizes lightweight hashing.” (May 2024)

The short answer

A cryptographic hash function maps any message to a short fixed digest. It must be one-way, second preimage resistant and collision resistant. Hashes are used for integrity checks, password storage, digital signatures and MACs. Lightweight hash functions (PHOTON, SPONGENT, QUARK, ASCON-Hash) keep this security with a small internal state, usually in a sponge construction.

Write these points

Traditional and lightweight design

PointSHA-256Lightweight hash
ConstructionMerkle-Damgård with a compression functionSponge with a small permutation
State256-bit chaining plus 512-bit blockSmall: about 100 to 300 bits
HardwareOver 10,000 GEAbout 1,000 to 2,000 GE
Security128-bit collisionOften 64 to 128-bit, set by capacity c (about c/2)
ExtrasLength extension issueSame permutation gives MAC and encryption
  • Impact: smaller area and energy, but lower throughput and sometimes a lower security level; designers choose capacity to fit the need.

Real applications of lightweight hashing

  • RFID tag authentication (hash based challenge response).
  • Firmware integrity check before a sensor boots.
  • Integrity of readings in smart meters and medical devices.
  • Key derivation from a shared secret on IoT nodes.

Sponge security level.

A sponge with state b = r + c bits gives about c/2 bits of security.

SPONGENT-128 style: c = 128 so about 64 bits of collision resistance, small and fine for short-lived tags.

For 128-bit security, choose c = 256.

ASCON-Hash uses a 320-bit state with c = 256: 128-bit security in a few thousand GE.

Real-life example

A fingerprint identifies a person without carrying the whole person. A hash is a fingerprint of data; a lightweight hash is a fingerprint scanner small enough for a key ring.

Figure: sponge construction
Figure: sponge construction

Same or opposite: SHA-256 and a lightweight hash

PointSHA-256Lightweight hashSame or opposite
ConstructionMerkle-DamgårdSpongeOpposite
Gives a fixed length digestYesYesSame
AreaOver 10,000 GEAbout 1,000 to 2,000 GEOpposite
ThroughputHighLowerOpposite

Exam tip. Define a hash with its three properties and uses. Give the SHA-256 versus lightweight table and the sponge c/2 rule. Name two real applications.

Back to the topic list

Q9. Symmetric and asymmetric cryptography; cryptography and encryption

Asked 2 times in 2024, 2025 · Unit 1

From the papers

  • “What is the difference between cryptography and encryption?” (Jun 2025)
  • “What is the key difference between symmetric and asymmetric cryptography?” (May 2024)

The short answer

Cryptography is the whole science of protecting information: encryption, hashing, MACs, digital signatures and key exchange. Encryption is one part of it: turning plaintext into ciphertext with a key. Symmetric cryptography uses one shared secret key; asymmetric cryptography uses a public key and a matching private key.

Write these points

PointSymmetricAsymmetric
KeysOne secret key sharedPublic key and private key
Speed and sizeFast, smallSlow, large
Main problemSharing the key safelyCost on small devices
ExamplesAES, PRESENT, SPECKRSA, ECC, Diffie-Hellman
UsesBulk encryption, MACsKey exchange, signatures, certificates
  • Cryptography and encryption: cryptography gives confidentiality, integrity, authentication and non-repudiation; encryption alone gives only confidentiality.
  • In practice both are combined: asymmetric to agree a key, symmetric to encrypt the data.
  • For IoT: lightweight symmetric ciphers for data, ECC only for set-up.
  • Hashes and MACs add integrity, which encryption by itself does not give.

Key counts.

10 devices talking pairwise with symmetric keys need 10 × 9 ÷ 2 = 45 keys.

With 1,000 devices that is 499,500 keys.

With asymmetric keys each device needs one key pair: 1,000 pairs.

This is why large systems use asymmetric keys to set up symmetric session keys.

Real-life example

A house key copied for every family member is symmetric. A post box that anyone can drop letters into but only the owner can open is asymmetric.

Figure: hybrid use in an IoT device
Figure: hybrid use in an IoT device

Same or opposite: cryptography and encryption

PointCryptographyEncryptionSame or opposite
ScopeThe whole fieldOne techniqueOpposite
Protects informationYesYesSame
Gives integrity and authenticationYes (hash, MAC, signature)NoOpposite
ExampleDigital signature, MACAES encryptionOpposite

Exam tip. Give the symmetric versus asymmetric table with IoT use. Explain that encryption is one part of cryptography and show the key count example.

Back to the topic list

Q10. Lightweight stream ciphers and the birthday attack

Asked 1 time in 2024 · Unit 3

From the papers

  • “Stream ciphers can be vulnerable to specific attacks like the "birthday attack". How can the design of a stream cipher be optimized to resist such attacks while maintaining efficiency?” (May 2024)

The short answer

A stream cipher produces a keystream from a key and an IV and XORs it with the plaintext bit by bit. Lightweight stream ciphers (Grain, Trivium, MICKEY from the eSTREAM hardware portfolio) use shift registers and need very few gates. A birthday attack finds collisions among about 2ⁿᐟ² values; on stream ciphers it shows up as time-memory-data trade-off attacks on the internal state and as keystream reuse when IVs repeat.

Write these points

Designing to resist birthday type attacks

  • Internal state at least twice the key size: Trivium keeps 288 bits for an 80-bit key; Grain-128 keeps 256 bits for a 128-bit key.
  • Use a large enough IV (80 to 128 bits) and never repeat a key and IV pair.
  • Limit the keystream per key and IV; rekey after a set amount of data.
  • A strong initialization (many warm-up rounds) so related IVs give unrelated keystreams.
  • Add authentication (Grain-128AEAD) so tampering is detected.

Keeping efficiency

  • Bit-serial shift registers (LFSR and NFSR) cost few gates; parallel versions raise speed when area allows.
  • Simple feedback functions (AND, XOR) instead of S-boxes.
  • A slightly larger state costs about 6 to 8 GE per bit: a small price for security.

Why state size matters.

If the state were 80 bits, a trade-off attack would need about 2⁴⁰ precomputation and 2⁴⁰ keystream bits: feasible.

With a 160-bit state, the same attack needs about 2⁸⁰: as hard as brute forcing the 80-bit key.

Trivium's 288-bit state is well past this bound.

Cost: about 80 extra flip-flops, roughly 500 GE.

Real-life example

In a class of 23 students there is a 50% chance that two share a birthday. Collisions come much sooner than people expect, so the state must be large.

Figure: lightweight stream cipher
Figure: lightweight stream cipher

Same or opposite: stream cipher and block cipher

PointStream cipherBlock cipherSame or opposite
UnitBit or byteFixed block (64 or 128 bits)Opposite
Uses a secret keyYesYesSame
HardwareShift registers, very smallRounds with S-boxesOpposite
Main riskReused key and IVWeak mode of operationOpposite

Exam tip. Define stream cipher and the birthday paradox. Explain the twice-the-key state rule with Trivium and Grain, IV size and rekeying. Show the 2⁴⁰ versus 2⁸⁰ calculation.

Back to the topic list

Q11. Lightweight message authentication codes

Asked 1 time in 2025 · Unit 3

From the papers

  • “Lightweight MACs often utilize lightweight block ciphers or hash functions as building blocks. How do the security properties of the underlying primitive impact the security of the MAC?” (Jun 2025)

The short answer

A message authentication code (MAC) is a short tag computed from a message and a secret key, proving that the message came from a key holder and was not changed. Lightweight MACs build on lightweight block ciphers (CBC-MAC with PRESENT, LightMAC), hash functions (HMAC with a lightweight hash), permutations (ASCON-MAC) or special designs (Chaskey, SipHash). The MAC is only as strong as its primitive and its mode.

Write these points

How the primitive affects MAC security

  • Block size: CBC-MAC with a 64-bit cipher has a birthday bound near 2³² messages; forgeries become possible beyond it.
  • Key size: an 80-bit key limits the MAC to about 80-bit key search security.
  • Weak primitive: a differential weakness in the cipher can give tag forgeries.
  • Hash properties: HMAC needs a pseudorandom compression function; sponge MACs depend on capacity c.
  • Tag length: a 32-bit tag can be guessed once in about 4 billion tries; 64 bits or more is safer.

Good practice

  • Use proven modes (CMAC, LightMAC, HMAC) and never plain CBC-MAC for variable-length messages.
  • Use separate keys for encryption and MAC, or one authenticated encryption scheme (ASCON, CCM).
  • Add a counter or nonce against replay attacks.

Choosing a tag length.

A door lock accepts commands with a 32-bit MAC tag.

An attacker sending 10 forged commands per second guesses a valid tag after about 2³¹ tries on average: about 6.8 years.

If the lock allows 1,000 tries per second, that falls to about 25 days.

With a 64-bit tag the time becomes millions of years, so 64 bits is the safer choice.

Real-life example

A wax seal is only as trustworthy as the ring that stamps it. If the ring is easy to copy, the seal proves nothing. A MAC depends on its primitive in the same way.

Figure: MAC check
Figure: MAC check

Same or opposite: MAC and hash

PointMACHashSame or opposite
Secret keyNeededNot usedOpposite
Detects changes to a messageYesYesSame
Proves who sent itYesNoOpposite
ExampleCMAC with PRESENT, HMACSHA-256, PHOTONOpposite

Exam tip. Define MAC and list lightweight MAC types. Explain how block size, key size, weaknesses and tag length of the primitive set MAC security. Calculate a tag guessing time.

Back to the topic list

Q12. Applications of lightweight cryptography and the Internet of Things

Asked 1 time in 2025 · Unit 4

From the papers

  • “Identify two different application domains (e.g., wearable devices) that heavily rely on lightweight cryptography.” (Jun 2025)
  • “Briefly define the Internet of Things (IoT).” (Jun 2025)

The short answer

The Internet of Things (IoT) is a network of physical objects (sensors, appliances, vehicles, wearables) with embedded electronics that collect data and communicate over the internet, often without a person. Most IoT devices are small and battery powered, so they rely on lightweight cryptography to protect their data and commands.

Write these points

Application domains

DomainDeviceWhat lightweight crypto protects
Wearables and healthFitness bands, pacemakers, insulin pumpsHealth data, commands to implants
RFID and smart cardsMetro cards, passports, product tagsAuthentication, anti-cloning
Smart home and cityLocks, meters, streetlightsCommands, readings, billing
AutomotiveKey fobs, tyre sensors, CAN busUnlocking, sensor integrity
Industry and agricultureWireless sensors, dronesTelemetry, control
  • Standards: ISO/IEC 29192 (lightweight cryptography), NIST's choice of ASCON (2023) as the lightweight standard.
  • Typical stack: ASCON or AES-CCM for data, lightweight key management, secure boot with a lightweight hash.
  • Protects privacy, prevents cloning and fake commands, keeps critical services safe.
  • Constraint to remember: a passive RFID tag has under 2,000 GE spare; a wearable has more area but a small battery.

Pacemaker link.

A pacemaker battery must last about 8 to 10 years.

Each wireless session uses an authenticated cipher with a small gate count to save energy.

A 128-bit key and 64-bit tags stop an attacker from sending fake pacing commands.

Conventional RSA on every session would drain the battery much faster.

Real-life example

A smart watch that counts your steps and sends them to your phone is IoT. The tiny lock inside that keeps your heart rate private is lightweight cryptography.

Figure: domains using lightweight cryptography
Figure: domains using lightweight cryptography

Same or opposite: RFID tag and wearable device

PointRFID tagWearable deviceSame or opposite
PowerFrom the reader's fieldBatteryOpposite
Needs lightweight cryptographyYesYesSame
Typical needAuthentication, anti-cloningData confidentiality and integrityOpposite
Spare areaUnder 2,000 GEMore, but energy limitedOpposite

Exam tip. Define IoT. Name at least two domains with devices and what lightweight crypto protects, then mention ISO/IEC 29192 and ASCON.

Back to the topic list

Start with the latest papers

Lightweight Cryptography - Jun 2025

Lightweight Cryptography - May 2024

See all 2 papers →

Lightweight Cryptography (CY-802-C) FAQs

What are the most important topics in Lightweight Cryptography?

By how often they were asked in the papers on this site: Lightweight cryptography: meaning, constraints, threats to tiny devices, why traditional algorithms do not fit, key size trade-offs (2 times); Modes of operation with lightweight block ciphers (2 times); Design strategies for lightweight block ciphers: S-boxes, design choices and cryptanalysis (2 times); Lightweight block ciphers: DESL, DESXL, PRESENT, CLEFIA, LED, SIMON, SPECK, TWINE, PRINCE, MIDORI, RECTANGLE, GRANULE (2 times); Key management: concept, resource-constrained challenges, centralized and distributed approaches (2 times).

How were these Lightweight Cryptography important questions chosen?

Each topic was counted from the questions in the past papers listed on this site (2024-2025). Repeated is the number of times the topic came. The counts come from keyword matching and the answers are not teacher-reviewed, so use them together with your syllabus.

Is there a PDF of Lightweight Cryptography important questions with answers?

Yes. The Paperwala Imp Question & Answer PDF for Lightweight Cryptography is free to download from this page.

The 12 most repeated topics of Lightweight Cryptography (CY-802-C) for RGPV B.Tech Cyber Security semester 8, counted from the previous year papers on this site.