Patent ID: 8121288

Claim:
An encryption method, comprising: encrypting and transmitting a data stream from a sender to a receiver via a channel after at least a part of the data stream is encrypted, the encrypting and transmitting comprising: adjusting, using a processor, encryption attributes during transmission based upon a complexity consideration of a situation of the sender, the receiver and the channel, wherein the adjusting encryption attributes comprises: determining whether there is a need to adjust the encryption attributes based on quality of the channel and if so, adjusting the encryption attributes; determining whether a current bit error rate (BER) of the channel is greater than a first predetermined threshold; if the current BER of the channel is greater than the first predetermined threshold, adjusting the encryption attributes to reduce the error propagation length of the encryption; determining whether the current BER of the channel is smaller than a second predetermined threshold; if the current BER of the channel is smaller than the second predetermined threshold, adjusting the encryption attributes to increase the error propagation length of the encryption; encrypting the data stream according to the adjusted encryption attributes; and transmitting the encrypted data stream and information of the encryption attributes to the receiver.