Re: Decrypted TIF Image seems to not be identical. (General questions)
Alex,
it's expected. Ciphers work on block of data, so when you encrypt, last chunk has to be aligned up to a 'BlockSize' of data, so few bytes are added. When you decrypt it, those bytes are also added to decrypted file. That's why you see garbage .
To get rid of it, use Optimized = True, or use PKCS7 padding.
Ah, okay, I'll try it with the optimized setting then. Does that have any negative effect (as I remember reading somewhere in the docs that I shouldn't be setting it to Optimized)?
-Alex
Complete thread:
- Decrypted TIF Image seems to not be identical... - Alex Loret de Mola, 2005-12-31, 01:15
- Re: Decrypted TIF Image seems to not be identical. - wodSupport, 2005-12-31, 01:49
- Re: Decrypted TIF Image seems to not be identical. - Alex Loret de Mola, 2006-01-02, 04:14
- Re: Decrypted TIF Image seems to not be identical. - wodSupport, 2006-01-02, 09:13
- Re: Decrypted TIF Image seems to not be identical. - Alex Loret de Mola, 2006-01-02, 17:50
- Re: Decrypted TIF Image seems to not be identical. - Alex Loret de Mola, 2006-01-02, 19:45
- Re: Decrypted TIF Image seems to not be identical. - wodSupport, 2006-01-02, 19:47
- Re: Decrypted TIF Image seems to not be identical. - Alex Loret de Mola, 2006-01-02, 20:05
- Re: Decrypted TIF Image seems to not be identical. - Alex Loret de Mola, 2006-01-02, 20:37
- Re: Decrypted TIF Image seems to not be identical. - wodSupport, 2006-01-02, 20:39
- Re: Decrypted TIF Image seems to not be identical. - Alex Loret de Mola, 2006-01-02, 21:52
- Re: Decrypted TIF Image seems to not be identical. - wodSupport, 2006-01-02, 20:39
- Re: Decrypted TIF Image seems to not be identical. - Alex Loret de Mola, 2006-01-02, 20:37
- Re: Decrypted TIF Image seems to not be identical. - Alex Loret de Mola, 2006-01-02, 20:05
- Re: Decrypted TIF Image seems to not be identical. - wodSupport, 2006-01-02, 19:47
- Re: Decrypted TIF Image seems to not be identical. - Alex Loret de Mola, 2006-01-02, 19:45
- Re: Decrypted TIF Image seems to not be identical. - Alex Loret de Mola, 2006-01-02, 17:50
- Re: Decrypted TIF Image seems to not be identical. - wodSupport, 2006-01-02, 09:13
- Re: Decrypted TIF Image seems to not be identical. - Alex Loret de Mola, 2006-01-02, 04:14
- Re: Decrypted TIF Image seems to not be identical. - wodSupport, 2005-12-31, 01:49