For a CBC encryption homework, i have to split my main string in smaller equal strings of 16 chars each. Is there any specific method to that ? And if so how can i do it ?
For a CBC encryption homework, i have to split my main string in smaller equal strings of 16 chars each. Is there any specific method to that ? And if so how can i do it ?
Just work with 16 characters at a time. It wouldn't be a null terminated string, but you probably don't need that for encryption.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)