The invention provides an SHA3-based
data processing method, device, circuit and equipment, and the method comprises the steps: obtaining a target message carrying a
mask, dividing the target message into a plurality of message blocks, sequentially inputting each message block into a
sponge structure, and carrying out the iteration, the method comprises the steps that a message block and current
mask information are spliced, then iteration is conducted on the spliced message block and current encrypted information, updated encrypted information and updated
mask information are output, finally, an output result of a specified bit segment is intercepted from the encrypted information updated each time, and an
encryption result is updated based on the output result. And generating an anti-leakage hash value based on the updated
encryption result. According to the method, the input and the
intermediate state of the
sponge structure each time are randomized through the dynamically updated mask information, so that a real
data processing path is effectively masked, a key or
original data is prevented from being restored through
side channel attack, the risk of
information leakage is reduced, and the method has the capability of resisting
side channel attack in the whole process.