Avoid buffer change while encrypting data
Rename buf_for_compress to buf_for_compress_encrypt
Merge pull request #11 from alexeyvo/copy

Avoid buffer change while encrypting data