You are not logged in.
Pages: 1
Hi,
I am trying to AES encrypt big files (5GB+) using SynCrypto. Preferably the operation mode should not be ECB, but that would be optional in my specific scenario.
SimpleEncrypt seems to load whole file into memory so it's limited by the amount of memory available.
TAESFull doesn't support files bigger than 4294967296 bytes (inLen is a Cardinal). The modifications that has to be made to support bigger files are not so trivial.
Probably I can do something to directly call TAESAbstractSyn.Encrypt functions to encrypt in chunks, but it seems not so easy if I want a chaining mode other than ECB; and even with ECB I will have to deal with padding.
It seems the best I can do is splitting the file in serveral 4GB files and encrypt all chunks with aesfull format.
Is there anything that I am missing that I can do to AES encrypt a big file without loading whole file in memory?
Thanks in advance
Ariel
Offline
Pages: 1