Thanks buddy, see you around!
Type: Posts; User: cjbon
Thanks buddy, see you around!
Hi Voodoo,
I have solved it!
I was thinking about the CipherInputStream and the salting/key that it might be left out during the switching.
So instead of encrypting the top 100000 bytes, I...
Hi Voodoo master,
These are cool stuff and a little too much for me to digest.. so do you think it is possible to get it working?
Now I realized another new thing, when I decrypt I do not have to decrypt exactly 100000 bytes, the CipherInputStream seems to have some mechanism to figure it out the encrypted data and decrypt...
I can't shred because the decrypted one is 4 bytes less not more :)
I just did a log of the buffer read:
07-16 11:43:05.640: I/enctop(4914): 100000 -> first read, the encrypted part
07-16...
Yes, I also suspected this. That is why I can encrypt/decrypt correctly if I do not do partial encryption or if the file is smaller than 100000 bytes meaning it always encrypt fully. So this will...
Very interesting, I tried adding 3 more qwerty word so:
qwerty.txt 616338 bytes
qwerty.enc 616362 bytes
qwerty.ret 616334 bytes
So it seems consistent, qwerty.ret is always 4 bytes short of the...
If the encryption/decryption of first 10000 bytes fail, then I will never being able to decrypt it back. I tried to output the 10000 bytes to another file and decrypt qwerty.enc first 100000 bytes to...
Hi Voodoo, thanks for being the first one trying to help :)
I tried your code, it is exactly the same. Also, it is the full code already. I have been using this for a long time to encrypt/decrypt...
Why is this call spoon feeding? I coded it myself but couldn't find an answer, I posted in Stackoverflow and Google group no one knew the answer so I guess it is not a simple question?
Any idea? I am about to give up...
Hi I have the following code I tested to encrypt/decrypt file and all is good. It works correctly for full file encryption and now I want to test partial encryption of 100000 bytes. I tried read the...