| CPC H04L 9/0618 (2013.01) [H04L 63/0428 (2013.01)] | 20 Claims |

|
1. A data transmission method, comprising:
generating N ciphertext data flows, wherein a first ciphertext data flow is one of the N ciphertext data flows, the first ciphertext data flow comprises at least two first alignment markers (AMs), at least two encryption parameter sets, and at least two ciphertext data segments, one ciphertext data segment and one encryption parameter set are comprised between every two first AMs, the at least two first AMs are used for data alignment of the N ciphertext data flows, and N is a positive integer; and
sending the N ciphertext data flows;
wherein the generating the N ciphertext data flows comprises:
obtaining N plaintext data flows, wherein a first plaintext data flow is one of the N plaintext data flows, the first plaintext data flow comprises at least two second AMs and at least two plaintext data segments, the at least two second AMs are used for data alignment of the N plaintext data flows, one plaintext data segment is comprised between every two second AMs, and one second AM is comprised between every two plaintext data segments; and
generating the first ciphertext data flow based on the first plaintext data flow and the at least two encryption parameter sets.
|