CSC381 · 2081 · 10 marks
What is a dual signature? Describe the dual signature operations? How is dual signature used during purchase request operation of SET protocol?
What is a dual signature? Describe the dual signature operations? How is dual signature used during purchase request operation of SET protocol?[10]
Quick answer
A dual signature is a special cryptographic mechanism used in the Secure Electronic Transaction (SET) protocol to link two separate messages intended for two different recipients, in such a way that: The merchant can verify the customer's order information without seeing the payment/card details; The bank can...
Dual Signature in SET Protocol
1. What is a Dual Signature?
A dual signature is a special cryptographic mechanism used in the Secure Electronic Transaction (SET) protocol to link two separate messages intended for two different recipients, in such a way that:
- The merchant can verify the customer's order information without seeing the payment/card details.
- The bank can verify the payment information without seeing the actual order details.
- Yet both messages are cryptographically linked, so neither party can be deceived about what the other received.
It protects the privacy of the cardholder while ensuring integrity and authenticity of both the order and payment messages.
2. Dual Signature Operations
The dual signature involves the following steps and components:
Parties Involved:
- Customer (Cardholder)
- Merchant
- Bank (Payment Gateway / Issuer)
Messages Involved:
- OI = Order Information (sent to Merchant)
- PI = Payment Information (sent to Bank)
Step-by-Step Construction of Dual Signature:
Step 1: Hash the two messages separately
H(OI) = Message Digest of Order Information
H(PI) = Message Digest of Payment Information
Step 2: Concatenate the two hashes
POMD = H(PI) || H(OI)
(Payment Order Message Digest)
Step 3: Hash the concatenated result
POMD_Hash = H(POMD) = H( H(PI) || H(OI) )
Step 4: Encrypt with Customer's Private Key (Sign)
Dual Signature (DS) = E_Kc_private ( POMD_Hash )
This DS is the dual signature that the customer attaches to both messages.
Diagram of Dual Signature Construction:
OI -----> H(OI) ---|
|--> Concatenate --> H(H(PI)||H(OI)) --> Encrypt with --> DS
PI -----> H(PI) ---| Customer's
Private Key
3. Verification of Dual Signature
By the Merchant:
The merchant receives OI and DS, and also receives H(PI) (hash of payment info, not PI itself).
Verification steps:
- Compute
H(OI)from the received OI. - Concatenate received
H(PI) || H(OI). - Hash the result:
H( H(PI) || H(OI) ). - Decrypt DS using customer's public key:
D_Kc_public(DS). - Compare the two values. If equal, signature is valid.
The merchant verifies the order but never sees PI (actual card/payment data).
By the Bank:
The bank receives PI and DS, and also receives H(OI) (hash of order info, not OI itself).
Verification steps:
- Compute
H(PI)from the received PI. - Concatenate
H(PI) || H(OI). - Hash the result:
H( H(PI) || H(OI) ). - Decrypt DS using customer's public key:
D_Kc_public(DS). - Compare the two values. If equal, signature is valid.
The bank verifies the payment but never sees OI (actual order details).
4. Use of Dual Signature in SET Purchase Request Operation
The Purchase Request is the first major transaction phase in SET. The following describes how dual signature is used:
Participants:
- Customer, Merchant, Payment Gateway (Bank)
Process:
Step 1: Customer prepares two messages
- OI (Order Information): items, price, merchant ID
- PI (Payment Information): card number, amount, bank details
Step 2: Customer creates the Dual Signature
- Computes
H(OI)andH(PI) - Computes
DS = E_Kc_private( H( H(PI) || H(OI) ) )
Step 3: Customer sends to Merchant
To Merchant: OI + H(PI) + DS
- Merchant sees the order details.
- Merchant gets H(PI) but cannot see actual payment info.
Step 4: Merchant forwards to Payment Gateway (Bank)
To Bank: PI + H(OI) + DS
- Bank sees the payment details.
- Bank gets H(OI) but cannot see actual order details.
Step 5: Verification
- Merchant verifies DS using
H(OI)(computed locally) and receivedH(PI). - Bank verifies DS using
H(PI)(computed locally) and receivedH(OI). - Both use the customer's public key to decrypt DS and compare.
Summary Table:
| Recipient | Receives | Can See | Cannot See |
|---|---|---|---|
| Merchant | OI + H(PI) + DS | Order details | Payment/card info |
| Bank | PI + H(OI) + DS | Payment/card info | Order details |
5. Advantages of Dual Signature in SET
- Privacy: Card details are hidden from merchant; order details are hidden from bank.
- Integrity: Any tampering with OI or PI will invalidate the dual signature.
- Non-repudiation: Customer cannot deny having sent both OI and PI since DS is signed with their private key.
- Linkage: Both messages are cryptographically bound together, preventing substitution attacks.
Note: The above explanation is based on the SET protocol concepts covered in the curriculum. The dual signature is a core security feature that makes SET a robust protocol for e-commerce transactions.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.