摘要 |
Disclosed are an encryption and decryption method based on proxy, a network apparatus, a network device, and a system, capable of improving the reliability and security of encrypted file transmission based on proxy. The encryption method comprises: generating proxy keys corresponding to at least two proxy servers respectively according to a private key of a sending end and a public key of a receiving terminal, the number of the proxy keys being equal to the number of the proxy servers; and sending encrypted ciphertext and the proxy keys corresponding to the at least two proxy servers respectively to the at least two proxy servers respectively, so that the at least two proxy servers re-encrypt the encrypted ciphertext according to the corresponding proxy keys respectively. The decryption method comprises: obtaining re-encrypted encrypted ciphertext from at least two proxy servers; performing decryption preprocessing on the re-encrypted encrypted ciphertext from the at least two proxy servers, so as to generate preprocessed ciphertext; and decrypting the preprocessed ciphertext. |