Method for sequentially encrypting and decrypting singly linked lists based on double key stream ciphers
AssigneesZhuhai College of Jilin University, Jilin University
InventorsYujuan Si, Liuqi Lang
Life of this patent
Estimating the term…
Abstract
A method for sequentially encrypting and decrypting singly linked lists based on double key stream ciphers comprises: establishing a plaintext set M according to a plaintext file; using the plaintext set M as an initial value and performing iterative decryption to obtain a ciphertext set C, wherein a key set P and an algorithm set A are used during the iterative decryption; for the ciphertext set C, performing multiple decryptions by calling the key set P and calling keys in the key set P, wherein a key set P and an algorithm set A are used during the decryptions; and, converting the obtained result of decryption into a plaintext file.
Claims17
A method for sequentially encrypting and decrypting singly linked lists based on double key stream ciphers, comprising:
- establishing a plaintext set M according to a plaintext file, wherein the plaintext can be any resolvable file;
- using the plaintext set M as an initial set and performing sequentially iterative encryption to obtain a ciphertext set C, wherein a reference string, a key set P and an algorithm set A are used jointly in the iterative encryption, and the reference string is 2m bytes, where m>=0 and m is a positive integer;
- the iterative encryption carried out by a network computer comprises:
- acquiring any values of the plaintext set M, the ciphertext set C and the key set P as initial values and bit pointers corresponding to the initial values, performing 2m iterative encryptions on the plaintext set M through the bit pointers, the reference string and an encryption algorithm in the algorithm set A to obtain a ciphertext set C, wherein the plaintext set M and the key set P are not successive or hashed simultaneously as for a bit pointer used for encryption;
- for the ciphertext set C, performing multiple decryptions by calling the key set P, wherein the key set P and the algorithm set A are used during the encryption, wherein the key set P and the algorithm set A are shared by the encryption and the decryption, and the sets M and C are doubly circular linked lists, wherein the plaintext set M and the key set P are not successive or hashed simultaneously as for a bit pointer used for encryption;
- and
- wherein the decryption carried out by a network computer comprises:
- retrieving the iteratively encrypted initial values, establishing bit pointers corresponding to the initial values, performing two decryptions on the ciphertext set C in combination with the reference string and the encryption algorithm in the algorithm set A to obtain the plaintext set M, and converting the plaintext set M into a plaintext file.
Dependencies are inferred from the claim text.