A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Customer Requirements for Developers
this week in the
HUGE string to encript in AES
Joined: Sep 10, 2004
Sep 13, 2005 12:47:00
I'm trying to encript files using AES (mind that I'm very new to the encription world as well as to i/o).
The program suppose to be simple:
1. get the plain file.
2. encript it (AES 128)
3. output the cypher file.
assuming the file is 10M byte (all strings, = plain.txt).
my question is:
1. should I take the file as one HUGE
and send it to the encription
or should I read the file by chunks - encript it and send it to the cypher file.
the first option, while sounds logic, looks inefficent to me.
can anyone comment or provide an alternative
subject: HUGE string to encript in AES
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015