rclone/crypt
Nick Craig-Wood 9d2dd2c49a crypt: Fix data corruption on seek
This was caused by failing to reset the internal buffer on seek so old
data was read first before the new data.

The unit tests didn't detect this because they were reading to the end
of the file to check integrity and thus emptying the internal buffer.

Both code and unit tests were fixed up.
2016-10-25 15:15:44 +01:00
..
pkcs7 Implement crypt for encrypted remotes - #219 2016-08-23 17:45:37 +01:00
cipher.go crypt: Fix data corruption on seek 2016-10-25 15:15:44 +01:00
cipher_test.go crypt: Fix data corruption on seek 2016-10-25 15:15:44 +01:00
crypt.go crypt: speed up repeated seeking - fixes #804 2016-10-21 10:03:16 +01:00
crypt2_test.go Add options for Open and implement Range for all remotes 2016-10-05 21:03:56 +01:00
crypt_config_test.go Make it possible to test Fs multiple times and use this with crypt 2016-08-23 17:45:37 +01:00
crypt_test.go Add options for Open and implement Range for all remotes 2016-10-05 21:03:56 +01:00