The invention discloses a forward security editable
blockchain construction method suitable for an alliance chain. The method comprises the following steps: S1, initializing a
system; S2, judging whether a block needs to be added or not, if so, entering the step S3, and otherwise, entering the step S4; S3, adding blocks by acquiring hash values; S4, judging whether historical content on an existing block needs to be modified or not, if yes, entering the step S5, and otherwise, entering the step S6; S5, modifying the content of the historical block on the
blockchain through the collision valueof the chameleon
hash function of the to-be-modified block; S6, updating the
secret share of the alliance chain participating user, and completing forward editing of one updating period. According tothe method, the
trap door secret key is stored in a distributed manner by adopting a
secret sharing technology, and compared with a secure multi-party computing protocol, the structure of computing collision in the method not only protects the
trap door secret key and the
secret share from being leaked, but also has fewer interaction times and lower computing overhead.