Hello everyone,
I wanted to implement AES encryption technique to encrypt text file of any size.
but for large size my compiler crashes.could anyone solve my problem
problem is in line 304 according to me
I attached my code with this thread
plz help me asap.

You cannot allocate as much memory! (You want to allocate 36GB)
You have to read your file block-wise.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.