Research Article
Parallel Algorithm for Wireless Data Compression and Encryption
function encrypt K is the key, D is the original data | = random(0–2s); s is the binary length of the random salt data, E.g. 128 b | init_state(0); Initialize the system state | compress(K); Compress the key, but do not output | output(compress ); Compress the random salt data, and output | output(compress(D)); Compress the original data, and output | | function decrypt K is the key, E is the encrypted data | init_state(0); Initialize the system state | compress(K); Compress the key, but do not output | decompress(s); Decompress salt data of length s, E.g. 128 b, and throw them | output(decompress(E)); Decompress the encrypted data, and output | |
|