Fake Product Identitfication using blockchain
Objectives
To develop an online blockchain based fake product
identification system
To implement blockchain for transparency and security
To implement SHA and AES algorithms
Users
Admin
Manufacturer
Supplier
consumer
Algorithms
SHA
This algorithm will be used to find out unique hash value of
every block
AES
 This algorithm will be used to encrypt block data
Working Blockchain
server 1
Applicati
on server
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
Working
Blockchain
server 1
Applicati
on server
DB
DB
Blockchain
server 2
DB
consum
er
Place Order
and perform
transaction
Search
products and
View product
history online
by scanning
QR code
Transaction
Blocks
generation
& store on
blockchain
Network
Purchas
e
product
s
Modules
Admin Panel
Products Management
Order Processing
Supply Chain Management in Blockchain
Admin Panel
Login
Reports
View suppliers
View manufacturers
View consumers
View Product Details and transactions
Products Management
Product Registration
Product Cost Management
Upload Product Photos
Order Processing
o Buyer will Place product order
o View order details (For buyer and product owner)
o Process order (current product owner will process the
pending order)
Supply Chain Management in 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
DFD: Admin
Admin
Logi
n View
consu
mers
View
suppliers
Users
customers
View
manuf
acturer manufacturer
sppliers
DFD: Manufacturer
Manufactu
rer
Logi
n Regist
er
Produ
cts
View
pendin
g
orders
Users
products
Proces
s
orders
orders
DFD: Supplier
Spplier
Logi
n Regist
er
Produc
ts
View
pendin
g
orders
Users
products
Proces
s
orders
orders
View
compa
ny
product
s
products
View
my
orders
orders
DFD:customer
Consume
r
Logi
n
View
my
orders
Users
orders
View
supplier
products
orders
View
product
verificatio
n details
by
scanning
qr code
products
products
Transaction Blocks Creation and 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
Hash value:
 Hash values 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
Blockchain based transaction history
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.
Conclusion
In this project we 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
Technologies required (.Java)
Deployment Platform: 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
Thank You

Fake product Identification System using BLock chain[1].pptx