The invention discloses a rerandomizable identifier
encryption and decryption method, and aims to solve the security defect of an existing rerandomizable identifier
encryption and decryption method. According to the invention, the technical scheme is that the method comprises the steps: constructing an
encryption and decryption
system composed of an initialization module, a key extraction module,an encryption module, a decryption module and a re-random module; enabling the
key generation center to operate the initialization module, generating a public parameter and a main private key, and disclosing the public parameter; enabling the
key generation center to operate a key extraction module, and generating a private key for the
receiver by adopting the identifier id of the
receiver; enabling a sender to operate the encryption module, generating a
ciphertext C by adopting the identifier id of the
receiver, and sending the
ciphertext C to the public
server; enabling a public
server to operate a re-
randomization module to re-randomize the C, and sending the new
ciphertext C' to a receiver; and enabling a receiver to operate the decryption module to decrypt the C'. According to the invention, the replayable selective ciphertext
attack based on the identifier can be resisted, and the operation of the rerandom module does not need the identifier of a receiver, so the distribution ofthe identifier is avoided.