0% found this document useful (0 votes)
12 views

Blockchain Technology Assignment 04

Uploaded by

hgtxdcymhn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

Blockchain Technology Assignment 04

Uploaded by

hgtxdcymhn
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

CAPITAL UNIVERSITY OF SCIENCE & TECHNOLOGY,

ISLAMABAD
Department of Software Engineering

SE 4573 – Blockchain Technology


Assignment 4

May 28, 2024

Name: _______________ Reg: ________________

Due date: June 11, 2024

No assignment after due date will be accepted.

Question # 1
Evaluate the potential of blockchain technology across various industries. Identify at least eight
distinct use cases and analyze the following for each:

 The specific problem or challenge addressed by blockchain.


 The key functionalities of blockchain that enable solutions.
 The potential benefits and impact on the relevant industry.

Question # 2
CUST is planning to issue a verifiable digital transcript to all students after the results are compiled
and certified by the controller exam. The transcript can be stored in a digital wallet of the students.
You are asked to design a blockchain-based system for issuance of transcript and degrees. You
may want to consider the following in your design:

1. Blockchain Technology, preferably Hyper Ledger Fabric.

2. All the key stakeholders in CUST shall be part of the Blockchain network: Registrar Office,
Controller Exam, Dean and Head of the Department.

3. The logic for smart contract that keeps track of the submission of all results by instructors
from their respective client applications to the respective Head of the Department (HoD).
The collected results of all the subjects for all the students shall then go the Dean and then
to the Controller Exam. After Controller Exam Office verifies the result, these are added
in the distributed ledger as a new block in the blockchain.

4. A smart contract checks a number of conditions, like holds, and then issues a verifiable
digital transcript to each student’s wallet on their request.

For the preparation of the solution, you are required to do the following:

1. Generate a public/private key pair for each students.


CAPITAL UNIVERSITY OF SCIENCE & TECHNOLOGY,
ISLAMABAD
Department of Software Engineering

2. Send the public key to registrar office acting as CA, the office issues the student a digital
identity certificate, putting his public key in it.

3. The controller exam office uses CUST private key and sign the transcript it receives from
the controller exam office. Use the following public/private key pair for CUST for signing
YOUR last semester digital transcript. If this is your first semester in CUST, generate your
current semester transcript with expected grades and sign the transcript. All the information
in the transcript shall be the same as is there in CUST standard transcript.

Public-Key:
722f96a65a0171396bd19ca73cd2f139ff9dbc2b9e30174bbdbd70e3b1111c50
cd5b372296b7f72de924d82f0b8dd5c2719834bcc863b1d047aff65a86deca70
8f833b6b707f109f8f1d068320bebe956c1bf8f940c910b2f57d964a12047ca1
86cf8ea808e1ffb98df94b3fc1a6fecec89d796bff648e7d8a40e7b314553ba0
e08a7966251dff8f3bbc20fe7f01e4b9c72b8104fd679ea6a08d0b58969f0989
801005caf5b86fb0cb5db4af5af813bb7d2e1edd0731fd486b69933b5733a5c7
b834df6774a41da7b3b0e86bb320cf53195e0e7c0e04a233e743e89e7d273abf
3200d6c07f62b53ffac3268d200d95243c65c93d36dc08e92b046960ed78c287
05

Private-Key:
4303b8f7d2b52bfd5651040e86bd0a844e88058ad7e1439ad935d88e593a4093
0fa2ec1de9b4f865c282343a901e6309265ffcfb9ae41fd4ac6e12389915225c
a36d92af00ac225672c8c72ca8482a5449c9b4fa9c5224f1d2f02d0735c1da5f
765e544c3c425f3248a7b9c9265f5b068369207d08bbbc80e3662a55c8a62943
b9eccfc451f425dad746053734d58b4e9af665367223e82ae14b35cc688b0e4e
55d61babc4dd3a4e3823dab15e33f76c67108a9a6ac4fd9784cf97f214cd7d14
6de30d2fc0809f23ee2d237376169f546111c089d3705bd97d32812493abc349
9432f4e2561b8c41a692c02aebcaa6b84e1d8c690a00945b7b5ebbc6090e1b13
b5

You may want to use the following utilities for generating hash and asymmetric encryption.

1. RSA - encryption online (crypt-online.ru)


2. SHA256 Online (emn178.github.io)

Perform the following:

a. As CUST Registrar office, prepare a Verifiable Digital Transcript for you.

b. Send your Name, CNIC and Public Key from the Certificate issues by CUST CA.
Also, sign this information using your private key.

c. CUST verifies the signature, as CUST already has a copy of your issued digital
certificate. On verification, CUST sends you the information to your digital wallet.
CAPITAL UNIVERSITY OF SCIENCE & TECHNOLOGY,
ISLAMABAD
Department of Software Engineering

d. Become a verifier and verify the transcript is actually issued to you by using CUST
public key.

Question # 3

HEC has decided to run a pilot project to use Blockchain Technology for four HEIs (CUST,
FAST, NED and NUST) for the degree verification of its graduated students. The following is
required to design the system:

1. HEC registers these four HEIs and assign them their digital certificates through its CA,
who also acts as a root CA.

2. Each HEI registers all graduates by assigning them a digital identity through its
respective CA.

3. Each HEI constitutes its own channel having, HoDs, Dean and Register Office as
Endorsing Peers and Student Affair office as Committing Peer.

4. The Peer of Registrar office of each institute is also attached with HEC on an HEC
Channel.

5. After receiving a request from Client application installed in a graduate mobile phone, the
HEI validates his request by checking if student has paid all his dues and there is no
academic deficiency and hold on the student. If any of these conditions exists, the request
is not endorsed.

6. In case the endorsement is successfully done, the HEI sends the final transcript and
degree to HEC Degree Attestation Peer after digitally signing these documents.

7. HEC checks if the program is an accredited program and the graduating student fulfills
the entrance requirements, affirms it digital signature on the transcript and degree and
sends the degree back to HEI for onward forwarding of the same to student.

For the above description do the following:

a. Draw the network architecture for Hyperledger Fabir Blockchain implementation, clearly
identify, all Channels, Peers, CAs, Orderer, ledgers, smart contracts, blocks on respective
ledger

b. Give sequence of flow once a request is received by a client application.


CAPITAL UNIVERSITY OF SCIENCE & TECHNOLOGY,
ISLAMABAD
Department of Software Engineering

c. Specify what shall be the endorsement policy?

d. Is there any double spend problem that is to be identified, if yes, then how can be it
identified?

e. How many smart contracts shall be there? Give logic of the smart contracts as pseudo
code or block diagram.

You might also like