Encrypt & Compression a file failed (wodCrypt)
I use the code below to encrypt & compress a very large text file (4.07 GB ) , but failed (The length of result file is 792 bytes). And version of wodCrypt.dll is 2.1.4 .
File size list of testing:
Brfore After
1.01 GB 11.2 MB
2.03 GB 22.5 MB
3.05 GB 33.8 MB
4.07 GB 792 KB
5.08 GB 12.0 MB
Dim srcfile As New FileBlob
Dim destfile As New FileBlob
Set oCrypt = New wodCryptCom
oCrypt.Type = TripleDES
oCrypt.InitVector = 123
oCrypt.SecretKey = Now
oCrypt.Compression = GZipCompression
oCrypt.Optimized = False
srcfile.FileName = txtSource.Text
destfile.FileName = txtDest.Text
oCrypt.Encrypt srcfile, destfile
Please advise.
Thanks
Complete thread:
- Encrypt & Compression a file failed - clement su, 2012-01-02, 08:47
- Re: Encrypt & Compression a file failed - woddrazen, 2012-01-02, 10:02
- Re: Encrypt & Compression a file failed - wodSupport, 2012-01-02, 23:07
- Re: Encrypt & Compression a file failed - clement su, 2012-01-09, 07:49
- Re: Encrypt & Compression a file failed - wodDamir, 2012-01-09, 14:10
- Re: Encrypt & Compression a file failed - woddrazen, 2012-01-11, 18:55
- Re: Encrypt & Compression a file failed - clement su, 2012-01-12, 10:04
- Re: Encrypt & Compression a file failed - woddrazen, 2012-01-12, 10:08
- Re: Encrypt & Compression a file failed - clement su, 2012-01-12, 11:16
- Re: Encrypt & Compression a file failed - woddrazen, 2012-01-12, 15:50
- Re: Encrypt & Compression a file failed - clement su, 2012-01-12, 11:16
- Re: Encrypt & Compression a file failed - woddrazen, 2012-01-12, 10:08
- Re: Encrypt & Compression a file failed - clement su, 2012-01-12, 10:04
- Re: Encrypt & Compression a file failed - woddrazen, 2012-01-11, 18:55
- Re: Encrypt & Compression a file failed - wodDamir, 2012-01-09, 14:10
- Re: Encrypt & Compression a file failed - clement su, 2012-01-09, 07:49
- Re: Encrypt & Compression a file failed - wodSupport, 2012-01-02, 23:07
- Re: Encrypt & Compression a file failed - woddrazen, 2012-01-02, 10:02