







































CTMJ | traditionalmedicinejournals.com Chinese Traditional Medicine Journal | 2023 | Vol 6 | Issue 2  

 

 

 Chinese Traditional Medical Journal 
 

 

A Fog-centric secure cloud storage scheme 
PU Wenyuan, ZHOU Chunxiang 

Department of Biology, Guang′anmen Hospital, 

China Academy of Chinese Medical Sciences  

 

 

Article Info 

Received: 19-02-2023  Revised: 25 -03-2023   Accepted: 2-04-2023    

 

 

 

Abstract: 

 

The ever-increasing computing and storage capacity of these devices need a cost-effective and environmentally 

friendly method of storing data. However, there are various hazards and constraints associated with cloud 

computing, such as those relating to data access control and security as well as efficiency concerns as well as 

bandwidth. Checking the integrity of data stored in many cloud services using a unique model: CPABE, IDP 

(identification principally based proxy). A variety of well-known symmetric algorithms, such as Identity-based 

cryptography and Proxy public key cryptography, were put to the test in real time on a variety of handheld devices 

in order to determine which cryptographic approach could provide the most efficient and reliable safety mechanism 

for recoring data. Fog-centric comfort is the focus of its design. Data is protected from illegal access, alteration, and 

deletion by storing it in the cloud. The suggested technique uses a fresh new approach Xor Combination to disguise 

data to prevent unauthorised access. As an additional safeguard against fraudulent data retrieval and data loss, Block 

Management outsources the results of Xor Combination. resilience of the proposed strategy. Tests show that the 

suggested approach is superior in terms of processing time compared to other cutting-edge alternatives. 

Keywords: Anonymity-based cryptography, Proxy public key cryptographic-ABE (fog server), Xor-Combination 

(CRH), privacy. 

 

 

 

 

Introduction: 

 



CTMJ | traditionalmedicinejournals.com Chinese Traditional Medicine Journal | 2023 | Vol 6 | Issue 2  

There are many advantages of cloud computing, but one of 

them is that it eliminates the need for a customer to manage 

his or her own computer infrastructure. It refers to the 

majority of time spent painting server farms that may be 

accessed by a large number of clients. It is common for 

large organisations to have capacity distributed 

throughout certain locations by focused personnel. If you 

have a close relationship with the buyer, you will almost 

certainly be allocated a facet employee.Some mists can 

only be found in a single affiliation venture, while others 

may be found in the public cloud of several institutions. In 

order to achieve scalability and reliability, distributed 

computing depends on the sharing of property. 
Because of dispersed computing, public and half-breed 

organisations may avoid or limit upfront IT foundation 

costs. Defendants also guarantee that allotted computing 

allows companies to get their programmes ready for action 

faster, with stepped forward reasonability and less 

protection, and that IT companies can all more quickly 

change assets to meet fluctuating and capricious need, 

giving the burst processing capacity: high registering 

strength at specific times of peak interest. 

 

 
The expanding amount of data necessitates a more 

extensive use of distributed computing and distributed 

storage, both of which have several advantages. With the 

rise of company transmission capabilities, the volume of 

client's statistics has increased significantly. Every time I 

go on to the internet, there's a lot going on.customer has a 

designated parking space that spans from GBs to TBs. The 

nearby ability fails to meet this substantial stockpiling 

requirement by itself. Individuals, above all, have a natural 

need to be able to access their data at any time. As a result, 

people are looking for innovative ways to preserve their 

information. A rising number of customers are shifting to 

cloud storage because of the ground-breaking hoarding 

limitation. They even want to keep their personal 

information in the cloud. Using a commercial company 

public cloud employee to store documents may become a 

common practise in the future. Several companies, 

including as Dropbox, Google Drive, iCloud, and Baidu 

cloud, are now offering a variety of capabilities services to 

their customers after being spurred by reality. Even yet, the 

advantages of dispersed storage are accompanied with a 

slew of digital hazards. Security is a major concern, but 

there are many others, such as a lack of data, spiteful 

change, and worker failure. For example, in 2013, 

programmers leaked three billion records from Yahoo, and 

in 2014, Apple's iCloud spilled private photos of 

Hollywood stars. In 2016, Dropbox data security was 

breached, and in 2017, Yahoo's three billion records were 

leaked again, this time by programmers. 

We recommend a method known as Xor 

Combination, which divides the data into 

squares, uses Xor hobby to join several 

squares, and then adapts the resulting 

squares to various cloud/mist persons. In 

order to prevent any cloud worker from 

improving a particular set of data, the 

suggested method is designed. Each 

block of data is stored by a cloud 

employee selected by management. 

Defense and recovery of information are 

aided by Xor and Block management, 

respectively. 

There are a lot of different sources, even 

though certain squares are missing. 

Collision Resolving, a good hashing 

feature, is also recommended. A hashing 

interest that is reliant on a standard hash 

computation that is resistant to a crash in 

hashing and shows the importance of 

security. communication skills. Using appropriate verification, access 
control, and interruption reputation, haze registering may be 

Relative Study: done reliably. Having a haze system in close proximity to the 

consumer enhances its credibility as a covered location. 



CTMJ | traditionalmedicinejournals.com Chinese Traditional Medicine Journal | 2023 | Vol 6 | Issue 2 
 

1. T. Wang et al., "Fog-based storage technologyto fight Registration framework. There are several methods 

with cyber threat,”: recommended for use in addition to haze processing, including 

their own Xor - Combination, Block - Block 

Disbursed computing has had a significant impact on everyone's Management and Collision Resistant Hashing (CRH) to 
understanding of base systems, data transfer and specialised safeguard security, assure recoverability, and to choose records 
aspects. When it comes to computationally important services, 

they are increasingly being moved to the cloud and accessed 
adjustment for the information sent inside the distributed garage. 

through a customer's mobile phone thanks to the advent of both Client, mist worker, and cloud employee make up our 
mobile firms and dispersed computing. However, digital threats framework paradigm. These chemicals have varying levels of 

are also becoming more advanced and sophisticated, putting the trustworthiness. Preparation for the future includes thinking 

privacy of consumers' personal information at risk. Customers 

lose control of their data and are exposed to virtual hazards such 

about the components' constant quality: 

as information loss and vengeful manipulation while using Data is owned by the user. This paper's primary goal is to 

standard support mode, which stores client statistics entirely in protect, recover from disasters, and relocate customer data in the 

the cloud. 

Second, "A Three-Layer Privacy Preserving Cloud Storage 

Scheme Based on Computational Intelligence in Fog 

Computing,": by T. Wang, 

event of an emergency. 

 

 
Fog Server: Patrons may rely on a Fog employee. Mist 

employee and his information are relied upon by the client. 

Three-layer stockpiling devices  based on mist figures are Heave employees' dependability is bolstered by the proximity of 

recommended. The suggested structure is capable of both haze devices to the consumer, full-life genuine security, 

ensuring the safety of data and making the most widespread 

storage possible. In addition, the Hash-Solomon code 

computation is designed to separate statistics into several 

components... As soon as that happens, we may place a touch 

authentic validation and cosy communication. 

 

 
Server in the cloud: A cloud employee is seen to be sincere and 

piece of information in a nearby gadget and spray an employee enquisitive. However, cloud workers are expected to investigate 
to ensure their safety. In addition, in light of This calculation is their clients' data in accordance with their service level 
able to deal with the flow amount in cloud, mist, and near-by agreement. Cloud employees, on the other hand, may claim to be 
devices one at a time, thanks to the power of computing. The acceptable regardless of how close they get to being able to 

feasibility of our strategy has been confirmed by hypothetical 

security investigation and check assessment, which is a 
perform. 

significant improvement over the present allocated garage Two tuples are returned as output: a block tag and a fixed length 

conspire. block for each tuple. In each set, there are a certain number of 
tuples to be found. Splits input into numbers of data blocks with 

By mixing cloud and fog computing, "Secure data storage and a predetermined size upon receiving padded data. Code called 
searching for industrial IoT": Xor Combination separates and combines any number of 

We examine the emerging issues in the IoT areas of information successive blocks in order to maintain privacy and allow for data 

handling, safe data storage, effective data healing, and dynamic 

record collection. At that time, we'll devise a flexible financial 

framework that incorporates cloud computing and distributed 

computing to address the challenges raised above. Threshold 

workers or cloud workers process and store gathered data in 

accordance with the time inaction requirements. Brink workers 

first analyse the raw data, then apply and store time-sensitive 

information locally, which is done within a few minutes. 

 

 
Implementation: 

With the only goal of ensuring cloud data, we suggested a cloud 

data storage approach based on haze modelling. The purchaser's 

stability is presumed by the conspirators in the form of a mist 

employee who has been given some processing, stockpiling, and 

recovery if anything goes wrong. 

Input: Data as block of bytes. 

 
Output: Two sets of tuples. 

 
Procedure: Receive data that has been padded; 

Set2 ; / Set the value to null. 

 

 

 

Initialize Set3 with null. 

the n-th term is |data| |L| 



CTMJ | traditionalmedicinejournals.com Chinese Traditional Medicine Journal | 2023 | Vol 6 | Issue 2  

If you want to know how many percentage points you have to random condensation units and irregular values, you will 
add to get to the next percentage point, you need to know how increase the risk of area. It is necessary for us to use random 

many percentage points you have to add to go to the next evaluation and a single set of non-smooth numbers given the 
percentage point. 

 

Assume that Set3 U is equal to the product of Set2 U and Set3 

U. 

B((i percent n)+2) percent n >; End of; 

Input Set2 andSet3 and return; 

End Procedure; 

 
• CRH.ver 

ification 

Input: 

𝑉𝑒𝑟𝑖𝑓𝑖𝑎𝑏𝑙𝑒𝑇 

 
𝑒𝑥𝑡Output: 

 
true or false. 

 
Procedure: 

 
Get the appropriate R, OriginalDigest, and RandomDigest 

from the database. 

 
 

VerifyDigest = hash (VerifiableText) is computed. 

 

 

And 𝑅𝑎𝑛𝑑𝑜𝑚𝑉𝑒𝑟𝑖𝑓𝑦𝐷𝑖𝑔𝑒𝑠𝑡 = 𝑕𝑎𝑠𝑕 (𝑅 || 
 

𝑉𝑒𝑟𝑖𝑓𝑖𝑎𝑏𝑙𝑇𝑒𝑥𝑡); 

 

 

Assuming that (OriginalDigest == VerifiableDigest and that 

A random digest is equal to a verifiable random digest 

 

ReturnR, the originalDigest, and the randomDigest; 

End procedure; 

 
Collision Resolving Hashing 

Resolving a Collision Regardless of whether or not there is an 

effect, hashing is an efficient method for determining the 

integrity of a data set. The hash evaluation of Original content 

is protected to differentiate any toxic substitute, and the hash 

digest of Modified content is identical to that of the original 

text. CRH can still distinguish between the original and 

modified versions of a text notwithstanding a crash. Using 

popular crash safe hash work. 

RESULTS AND DISCUSSIONS: 

 
Admin Login Page 



 

 

 

 

 

 

 

 

 

 

 

 

Data User Registration Page: 
 

 
 

 

 

] 

View file request: 

View File: 

Admin login page: 

 

 
Cloud server and Fog server: 

 

 
 

File Upload: 

 

 

 

 

CONCLUSION: 

 
The storage service is excellent, but customers are entrusting 

the cloud storage server with their private information. 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 
 CTMJ | traditionalmedicinejournals.com Chinese Traditional Medicine Journal | 2023 | Vol 6 | Issue 2 



 

CTMJ | traditionalmedicinejournals.com Chinese Traditional Medicine Journal | 2023 | Vol 6 | Issue 2 

Complete access to and control of the cloud server 

 

 
As soon as statistics are outsourced to the cloud, people's 

information may be manipulated. It has the ability to look up 

and investigate a person's history. Information is also 

vulnerable to several cyberattacks, and cloud hardware or 

software failure might entirely wipe out the data on the cloud. 

A three-layer fog-based structure is an appropriate solution 

for a secure cloud storage facility that can withstand cyber 

assaults. Preventive sports are performed on a trusted fog 

server, while the real data is sent to several cloud servers in a 

twisted architecture. This research recommends Xor as a 

preventative strategy s. 

 

 
Combination, CRH, and Block Management strategies. Xor 

Combination splits and mixes a dataset into blocks of fixed 

period length in order to make it ready for outsourcing. 

REFERENCES: 

 
[1] A Fog-centric Secure Cloud Storage 

Scheme by M A Manazir Ahsan, Ihsan Ali, 

and Muhammad Imran was published in 

IEEE Transactions on Sustainable 

Computing on May 6, 2019, pp. 2377-3782. 

[2] [2] "A Three-Layer Privacy Preserving 

Cloud Storage Scheme Based on 

Computational Intelligence in Fog 

Computing," IEEE Transactions on 

Emerging Topics in Computational 

Intelligence, vol. 2, no. 1, 2018, pp. 3-12. 

[3] S. Basu and his colleagues, "Cloud 

computing security issues and solutions," 

appeared in Computing and Communication 

Workshop and Conference (CCWC), the 

2018 IEEE 8th Annual, 2018. pp. 347–356: 

IEEE. 

[4] Future Generation Computer Systems, 

"Fog-based storage technique to combat 

cyber danger," 2018. 

[5] IEEE Transactions on Dependable and 

Secure Computing, 2017. [5] Yang, X. Liu, 

and R. Deng, "Multi-user Multi-Keyword 

Rank Search over Encrypted Data in 

Arbitrary Language," 2017. 

[6] IEEE, "The fog computing paradigm: 

Scenarios and security challenges," 2014 

Federated Conference on Computer Science 

and Information Systems (FedCSIS), pp. 1- 

8, I. Stojmenovic and S. 

[7] Arora, Parashar, and Transforming, 

"Secure user data in cloud computing 

utilising e-ncryption algorithms," 

International journal of engineering 

research and applications, vol. 3, no. 4, pp. 

1922-1926, 2013. 

[8] Cloud computing security: a review by 

David Zissis and Dimitris Lekkas, Future 

Generation computer systems, volume 28, 

number 3, pages 583-592, 2012. 

[9] "Privacy preserving public auditing for 

data storage security in cloud computing," 

by C. Wang, Q. Wang, K. Ren, and W. Lou, 

appeared in Infocom, 2010 Proceedings 

IEEE (pp. 1-9). Ieee.com. 

[10] Distributed computing systems 

workshops (ICDCSW), 2010 IEEE 30th 

International Conference on, pp. 26-31: 

IEEE, 2010. 


