When I try to encrypt data in the size of 1-2 GB it takes about 10 min to encrypt it with a 256 bit key in CBC mode with an 128 bit IV (Running Windows 10, i7-7700HQ, 24GB RAM).
Anything I could do to increase the speed?
Code snippet:
bigFileData.size() <== 1.9GB
key <== created with SHA256
iv <== created with Blake2s-128
When I try to encrypt data in the size of 1-2 GB it takes about 10 min to encrypt it with a 256 bit key in CBC mode with an 128 bit IV (Running Windows 10, i7-7700HQ, 24GB RAM). Anything I could do to increase the speed?
Code snippet:
bigFileData.size() <== 1.9GB key <== created with SHA256 iv <== created with Blake2s-128
QByteArray encodedText = aes.encode(bigFileData, key, iv);