Method and apparatus for encrypting data, method and apparatus for decrypting data
US10818202B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Jul 3, 2018 |
| Grant date | Oct 27, 2020 |
| Priority date | — |
| Expiry date | Apr 15, 2039 |
Classification
- Technology area (CPC H)Electricity
- CPC primaryH04L9/3239
- WIPO fieldDigital communication
- WIPO sectorElectrical engineering
Abstract
The disclosure discloses a method and apparatus for encrypting data, and a method and apparatus for decrypting data. The method for encrypting data includes: acquiring a to-be-encrypted data block; executing a first encryption on the to-be-encrypted data block to obtain a data ciphertext; executing a hash operation on the to-be-encrypted data block to obtain an index key; designating a last ciphertext block as a first target ciphertext block, and decrypting the first target ciphertext block to acquire an index value of the first target ciphertext block; executing a preset operation on the index value of the first target ciphertext block to obtain the index value of the to-be-encrypted data block, and executing a second encryption on the index value of the to-be-encrypted data block based on the index key to generate an index ciphertext; and combining the data ciphertext and the index ciphertext to generate a ciphertext block.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.