std::string plaintext = "blahblahblahblahblahblah--- etc BASE64 data with no nulls"
int inputLength = plaintext.size();
StreamTransformationFilter encryptor(ecbEncryption, NULL,
StreamTransformationFilter::ZEROS_PADDING);
encryptor.Put(plaintext, inputLength);
encryptor.MessageEnd();
outputLength = encryptor.MaxRetrievable(); //outputLength = 3082 in debugger
ciphertext = new byte[outputLength];
encryptor.Get(ciphertext, outputLength);
return ciphertext; //ciphertext has only 127 bytes of data in it
smaller amounts of data passed to it comeout fine, also I have check the
difference not given back is Not still in the encryptor I have tried to iterate
through it not there.
Am I not Implementing something incorrectly I have downloaded the manual from the site
but it looks like it for another version or something. I'm using 5.2.1
Any Ideas??
AJ
FIWC~US NAVY
RT/RD
