Science and Technology · Cyber Security
Cyber Security: Cryptography and identity
Topic 10.2. Syllabus: GS-III · Science and Technology- developments and their applications and effects in every…
Every UPI payment and WhatsApp chat is protected by maths most people never see. In this note, we explain cryptography, digital signatures and Aadhaar-based identity, in simple words.
What is cryptography
Quick answer
Cryptography turns readable data (plaintext) into scrambled data (ciphertext) using a key, so only the right person can read it. It also proves who sent a message and that it was not changed on the way.
The idea is old. Julius Caesar shifted each letter of his messages by three places, so A became D. Anyone who knew the “shift by three” rule could read it. Today’s methods use complex maths, but the principle is the same: a secret key turns sense into nonsense and back.
Cryptography gives four things, often called CIA plus one:
- Confidentiality: only the right person can read it.
- Integrity: any change can be detected.
- Authentication: you know who sent it.
- Non-repudiation: the sender cannot later deny sending it.
Symmetric and asymmetric encryption, and hashing
Quick answer
Symmetric encryption, like AES, uses one key for both locking and unlocking; it is fast but the key must be shared safely. Asymmetric encryption, like RSA, uses a public key to lock and a private key to unlock. Hashing makes a fixed-length fingerprint of data that cannot be reversed.
The basic tools of cryptography.
A worked example of public and private keys: think of a padlock and its key. You send open padlocks (public key) to everyone. Anyone can snap one shut on a box and send it to you. Only you have the key (private key) to open it. So strangers can send you secrets without ever meeting to swap a key.
In practice, both are used together. When you open a bank website, asymmetric encryption is used first to agree on a secret key safely, and then fast symmetric encryption protects the rest of the session. This is what the padlock icon in your browser means.
Hashing is different: it is one-way. Passwords are stored as hashes, so even if a website is hacked, the attacker gets fingerprints, not the passwords themselves. Change one letter of the input and the hash changes completely.
Practice matters while you read. Try a few questions on this topic.
Digital signatures and the IT Act
Quick answer
A digital signature is an electronic method of signing a document using a private key. Anyone can verify it with the matching public key. It proves who signed and that the content is unchanged. The IT Act, 2000 gives digital and electronic signatures legal validity.
Asked by UPSC · UPSC Prelims 2019 · Q94
- Consider the following statements:A digital signature is
- an electronic record that identifies the certifying authority issuing it
- used to serve as a proof of identity of an individual to access information or server on Internet
- an electronic method of signing an electronic document and ensuring that the original content is unchanged
- Which of the statements given above is/are correct?
- 1 only
- 2 and 3 only
- 3 only
- 1, 2 and 3
Show answer
Answer: (c). c. 3 only: a digital signature is an electronic method of signing that ensures content is unchanged; a digital signature certificate (not the signature) identifies the certifying authority; proof of identity to access a server is authentication, not a digital signature.
The four steps of a digital signature.
In India, the Controller of Certifying Authorities, under MeitY, licenses bodies that issue Digital Signature Certificates. Companies use these for tax filings and tenders. Aadhaar eSign lets a person sign online using an Aadhaar OTP, without a physical token.
A Prelims trap: do not confuse the signature with the certificate. The certificate is like an ID card issued by a trusted authority that links a public key to a person. The signature is the act of signing with the private key.
Asked by UPSC · Prelims 2019 · Q94
Quoted from a previous paper. Tap an option to check.
Consider the following statements:A digital signature is 1. an electronic record that identifies the certifying authority issuing it 2. used to serve as a proof of identity of an individual to access information or server on Internet 3. an electronic method of signing an electronic document and ensuring that the original content is unchanged Which of the statements given above is/are correct?
Blockchain: how it uses cryptography
Quick answer
A blockchain is a shared record copied across many computers. Each block holds the hash of the previous block, so changing any old record breaks the chain. Public blockchains can be inspected by anyone and no single user controls them.
Asked by UPSC · UPSC Prelims 2020 · Q40
- With reference to “Blockchain Technology”, consider the following statements:
- It is a public ledger that everyone can inspect, but which no single user controls.
- The structure and design of blockchain is such that all the data in it are about cryptocurrency only.
- Applications that depend on basic features of blockchain can be developed without anybody’s permission.
- Which of the statements given above is/are correct?
- 1 only
- 1 and 2 only
- 2 only
- 1 and 3 only
Show answer
Answer: (d). d. 1 and 3: public ledger that anyone can inspect and no single user controls; applications can be built without permission on public blockchains; blockchain data is not only about cryptocurrency (statement 2 wrong).
| Type | Who can join | Example use |
|---|---|---|
| Public | Anyone | Bitcoin, Ethereum |
| Private | One organisation decides | Internal company records |
| Consortium | A group of organisations | Banks sharing trade finance data |
Blockchain is used beyond crypto: land records, supply chain tracking, certificates and trade finance. India’s National Blockchain Framework and pilots in land records in some states show public uses.
Asked by UPSC · Prelims 2020 · Q40
Quoted from a previous paper. Tap an option to check.
With reference to “Blockchain Technology”, consider the following statements: 1. It is a public ledger that everyone can inspect, but which no single user controls. 2. The structure and design of blockchain is such that all the data in it are about cryptocurrency only. 3. Applications that depend on basic features of blockchain can be developed without anybody’s permission. Which of the statements given above is/are correct?
Quantum threat and post-quantum cryptography
Quick answer
Large quantum computers could break RSA and similar public-key methods. So new “post-quantum” methods are being adopted. Quantum key distribution (QKD) uses physics to share keys so that any spying is detected.
The danger is called “harvest now, decrypt later”. A hostile agency can record encrypted government or bank traffic today and store it. When quantum computers become strong enough, it can unlock old secrets. That is why sensitive systems are being upgraded years in advance.
In August 2024, the US standards body NIST published its first post-quantum encryption standards. India’s National Quantum Mission, approved in 2023, includes secure quantum communication as a key goal, and Indian labs have demonstrated QKD links over fibre and through free space.
A Connect-the-dots link: this is a national security issue, not just a tech one. Defence, banking and power grids all depend on encryption that must stay safe for decades.
Digital identity: Aadhaar and authentication
Quick answer
Aadhaar is a 12-digit number linked to a person’s fingerprints, iris and face, issued by UIDAI under the Aadhaar Act, 2016. Open APIs let any app or device authenticate a person using OTP, fingerprint, iris or face.
Asked by UPSC · UPSC Prelims 2018 · Q17
- The identity platform ‘Aadhaar’ provides open “Application Programming Interfaces (APIs)”. What does it imply?
- It can be integrated into any electronic device.
- Online authentication using iris is possible.
- Select the correct answer using the code given below:
- 1 only
- 2 only
- Both 1 and 2
- Neither 1 nor 2
Show answer
Answer: (c). c. Both: open APIs allow integration into any electronic device; online authentication using iris is possible.
- Virtual ID: a temporary 16-digit number that can be used in place of Aadhaar.
- Masked Aadhaar: shows only the last four digits.
- Offline verification: signed QR code or XML file, without sharing the full number.
- Face authentication: helps elderly people whose fingerprints have worn out.
A worked example: an elderly farmer’s fingerprints fail at the ration shop because years of manual work have worn them down. Iris or face authentication solves this. Without such options, people get wrongly denied food grains, which is a real problem reported in many states.
Asked by UPSC · Prelims 2018 · Q17
Quoted from a previous paper. Tap an option to check.
The identity platform ‘Aadhaar’ provides open “Application Programming Interfaces (APIs)”. What does it imply? 1. It can be integrated into any electronic device. 2. Online authentication using iris is possible. Select the correct answer using the code given below:
Aadhaar judgment 2018 and privacy safeguards
Quick answer
In September 2018, a five-judge bench upheld Aadhaar for welfare paid from the Consolidated Fund of India and for linking with PAN. It struck down Section 57, so private firms cannot force people to use Aadhaar. It also limited storage of authentication records to six months.
Asked by UPSC · UPSC Prelims 2020 · Q1
- Consider the following statements:
- Aadhaar metadata cannot be stored for more than three months.
- State cannot enter into any contract with private corporations for sharing of Aadhaar data.
- Aadhaar is mandatory for obtaining insurance products.
- Aadhaar is mandatory for getting benefits funded out of the Consolidated Fund of India.
- Which of the statements given above is/are correct?
- 1 and 4 only
- 2 and 4 only
- 3 only
- 1, 2 and 3 only
Show answer
Answer: (b). b. 2 and 4: state cannot contract with private firms to share Aadhaar data; Aadhaar mandatory for CFI-funded benefits; metadata may be kept for six months, not three (statement 1 wrong); not mandatory for insurance (statement 3 wrong).
| Aadhaar is mandatory for | Aadhaar is not mandatory for |
|---|---|
| Welfare benefits from the Consolidated Fund of India | Bank accounts |
| Linking with PAN | Mobile phone connections |
| Filing income tax returns | School admissions and exams like NEET and CBSE |
After the judgment, Parliament amended the law in 2019 to allow voluntary use of Aadhaar for bank KYC and mobile connections. A child gets to choose at 18 whether to keep the Aadhaar number.
A Mains angle: Aadhaar shows the trade-off between efficient welfare and privacy. Write about savings from removing fake beneficiaries, and also about exclusion errors and data leaks, and the need for the DPDP Act’s safeguards.
Asked by UPSC · Prelims 2020 · Q1
Quoted from a previous paper. Tap an option to check.
Consider the following statements: 1. Aadhaar metadata cannot be stored for more than three months. 2. State cannot enter into any contract with private corporations for sharing of Aadhaar data. 3. Aadhaar is mandatory for obtaining insurance products. 4. Aadhaar is mandatory for getting benefits funded out of the Consolidated Fund of India. Which of the statements given above is/are correct?
Prelims mix-ups
- Symmetric: one key (AES). Asymmetric: key pair (RSA). Hash: one-way (SHA-256).
- Digital signature: method of signing; certificate identifies the authority.
- Blockchain: not only for crypto.
- Aadhaar records: six months. Mandatory: CFI benefits and PAN.
- Section 57 of the Aadhaar Act: struck down in 2018.
- First NIST post-quantum standards: August 2024.
Mains angle
- How to use: use this for questions on encryption, digital signatures, blockchain, quantum security and Aadhaar.
- Points to write: basics, encryption types, signatures, blockchain, quantum threat, Aadhaar features and judgment.
- Conclusion line: Trust in digital India rests on strong cryptography and fair rules for identity.
###
Cryptography and Digital Identity: FAQs
What is the difference between symmetric and asymmetric encryption?
Symmetric encryption uses one shared key to lock and unlock data. Asymmetric encryption uses a pair: a public key to lock and a private key to unlock.
What is a digital signature?
An electronic way of signing a document using a private key. Anyone with the public key can check who signed it and that it was not changed.
What did the Supreme Court say about Aadhaar in 2018?
It upheld Aadhaar for welfare benefits and PAN, but struck down its compulsory use by private firms and for bank accounts and mobile connections.
What is post-quantum cryptography?
New encryption methods designed to stay safe even against future quantum computers.
Prelims fact
- A digital signature is a method of signing, not a record that identifies the certifying authority.
- Blockchain data is not only about cryptocurrency.
- Aadhaar authentication records can be kept for six months, not three.
- Aadhaar is mandatory for benefits paid from the Consolidated Fund of India, not for insurance or bank accounts.
- Aadhaar authentication can use OTP, fingerprint, iris or face.
Mains angle
How to use: use this for questions on encryption, digital signatures, blockchain, quantum security and Aadhaar.
- How to use: use this for questions on encryption, digital signatures, blockchain, quantum security and Aadhaar.
- Points to write: basics, encryption types, signatures, blockchain, quantum threat, Aadhaar features and judgment.
- Conclusion line: Trust in digital India rests on strong cryptography and fair rules for identity.
The evaluator opens with a blank question. It does not prefill this prompt. Paste the question if you want an answer marked. A free account can submit two evaluations a day.
Practice
Practice MCQs (9)
Practice 1
Q1 · Practice
When a website stores user passwords securely, it 'salts' them before hashing. Salting means
Practice 2
Q2 · Practice
In India's Public Key Infrastructure, the Root Certifying Authority of India (RCAI), which sits at the top of the trust hierarchy and certifies the public keys of licensed Certifying Authorities, is operated by
Practice 3
Q3 · Practice
With reference to electronic authentication under the Information Technology Act, 2000, consider the following statements: 1. A subscriber may authenticate an electronic record by affixing a digital signature, which uses an asymmetric crypto system and a hash function. 2. Any person can verify an electronic record so authenticated by using the public key of the subscriber. 3. After the 2008 amendment, a subscriber may also use other reliable electronic signature or authentication techniques specified in the Second Schedule of the Act. Which of the statements given above is/are correct?
Practice 4
Q4 · Practice
Anita wants to send a confidential file to Bharat and also wants Bharat to be sure that the file really came from her. Both use public-key cryptography. Consider the following statements: 1. To keep the file confidential, Anita should encrypt it with Bharat's public key. 2. To sign the file, Anita should use her own public key. 3. Bharat can verify Anita's signature by using Anita's public key. Which of the statements given above is/are correct?
Practice 5
Q5 · Practice
When a browser opens a website over HTTPS (using the TLS protocol), public-key cryptography is mainly used to
Practice 6
Q6 · Practice
Consider the following statements about encryption: 1. In symmetric-key encryption, such as the Advanced Encryption Standard (AES), the same secret key is used both to encrypt and to decrypt the data. 2. In asymmetric (public-key) encryption, data encrypted with a person's public key can be decrypted only with that person's matching private key. 3. Asymmetric algorithms are much faster than symmetric ones, which is why they are preferred for encrypting large volumes of data. Which of the statements given above is/are correct?
Practice 7
Q7 · Practice
Consider the following statements about digital certificates: 1. A digital certificate binds a public key to the identity of its holder and is itself digitally signed by the Certifying Authority that issues it. 2. Under the Information Technology Act, 2000, one of the functions of the Controller of Certifying Authorities is to certify the public keys of the Certifying Authorities. 3. A certificate includes the holder's private key so that a recipient can check the holder's signature. Which of the statements given above is/are correct?
Practice 8
Q8 · Practice
Consider the following statements about websites that use HTTPS: 1. The padlock icon shows that the connection is encrypted and that the site presented a valid certificate for its domain name, but it does not prove that the website is honest. 2. A certificate has a fixed validity period and can be revoked by the issuing authority before it expires, for example if the private key is compromised. 3. Browsers automatically trust self-signed certificates, because the website owner has signed them personally. Which of the statements given above is/are correct?
Practice 9
UPSC Prelims 2017 · GS Paper I
In India, it is legally mandatory for which of the following to report on cyber security incidents ? - 1. Service providers - 2. Data centres - 3. Body corporate Select the correct answer using the code given below :
Remember
- 1 Cryptography is the science of keeping information secret and proving it is genuine.
- 2 Symmetric encryption uses one shared key. Asymmetric encryption uses a public key and a private key.
- 3 A digital signature proves who signed an electronic document and that it has not been changed.
- 4 Quantum computers could break today's public-key encryption, so countries are moving to post-quantum cryptography.
- 5 Aadhaar is India's digital identity. The Supreme Court upheld it in 2018 but limited its compulsory use.
Flashcards
Cryptography behind digital signatures?
Public key (asymmetric).
Law giving digital signatures legal validity?
IT Act, 2000.
Who licenses Certifying Authorities?
Controller of Certifying Authorities (CCA).
Biometrics besides fingerprints (UPSC
2014)? Iris, retina, voice.
Can Aadhaar authenticate with iris?
Yes.
Questions students ask
What is the difference between symmetric and asymmetric encryption?
Symmetric encryption uses one shared key to lock and unlock data. Asymmetric encryption uses a pair: a public key to lock and a private key to unlock.
What is a digital signature?
An electronic way of signing a document using a private key. Anyone with the public key can check who signed it and that it was not changed.
What did the Supreme Court say about Aadhaar in 2018?
It upheld Aadhaar for welfare benefits and PAN, but struck down its compulsory use by private firms and for bank accounts and mobile connections.
What is post-quantum cryptography?
New encryption methods designed to stay safe even against future quantum computers.
To study this note properly, place it in your daily schedule and keep the slot.