Research Article

Privacy-Preserving Redactable Blockchain for Internet of Things

Algorithm 3

(implements ).
 Input: Chain of length .
 Output: 0/1
(1);
(2)if then
(3)return ;
(4)while do
(5)Parse ;
(6)if then
(7)return 0
(8)if then
(9);
(10)else if then
(11);
(12)else
(13)return 0;
(14)return 1;
(15)return 1