Objectives
To develop anonline blockchain based fake product
identification system
To implement blockchain for transparency and security
To implement SHA and AES algorithms
Algorithms
SHA
This algorithm willbe used to find out unique hash value of
every block
AES
This algorithm will be used to encrypt block data
5.
Working Blockchain
server 1
Applicati
onserver
DB
DB
Blockchain
server 2
DB
Manuf
acture
r
Register
Product
Upload
Product
Details/photos
supplier
Place Order
and perform
transaction
Update
Product
details
and
cost
Transaction
Blocks
generation
& store on
blockchain
Network
Purchas
e
product
s
Generate
QR code
Order Processing
o Buyerwill Place product order
o View order details (For buyer and product owner)
o Process order (current product owner will process the
pending order)
11.
Supply Chain Managementin Blockchain
o Product Supply chain transactions will be maintained on
distributed servers in the form of blocks
o The blocks will be maintained in sequence so that the
consumer can view complete product details by scanning
QR code
Transaction Blocks Creationand Encryption
In this project we have considered 2 blockchain servers.
The transaction data will be stored on the 2 blockchain
servers in encrypted format.
We are storing the blocks in mysql database.
Hash value Transaction data in
encrypted format
Previous transaction hash
value
17.
Hash value:
Hashvalues can be thought of as fingerprints for data/file. The
contents of a file are processed through a cryptographic
algorithm, and a unique numerical value – the hash value - is
produced that identifies the contents of the file/data.
We are generating the hash value for every transaction using
SHA2 algorithm. SHA2 is a built in mysql function which returns
hash value for particular record. Sample Hash value is as given
below
2c8b871e52d4e5f5db5ff84a82a45327e20df77edef961c4b6fa0e9c3d97ce5b
18.
Blockchain based transactionhistory
management
The transactions are maintained on blockchain servers
sequentially in encrypted format therefore the transactions
will remain safe and admin will not be able to edit any
transaction.
19.
Conclusion
In this projectwe have implemented block chain to improve
transparency and security of the transactions.
The transactions will remain secured on distributed servers as
no one will be able to edit transaction details and hence
the transparency will be maintained.
Fake products identified by using unique QR code
20.
Technologies required (.Java)
DeploymentPlatform: Windows
Application Server: Apache Tomcat
Technology : Java EE
Development Tools (Serverside): Servlets & JSP,Java Beans
MVC framework : Spring boot
Database technologies: MySQL,JDBC
Web Development: XML, HTML, DHTML, Javascript,AJAX
Development Tool: Eclipse IDE 2023-06