Hello,
   I went through CRT_Mode<AES> algorithm.
Then I just tried running it on my system using crypto++ library
using this command
cryptest ae inputFileName.txt outputFileName.txt. There is some
exception thrown namely

CryptoPP::Exception caught: AES/CTR: 1 is not a valid key length

then I just went to the code to check what is wrong. I came across
this statement
    AES_CTR_Encrypt(argv[2], argv[3], argv[4], argv[5]);
I think I need to pass 5 arguments in the prompt. But though it doesnt
work.

My inputFileName.txt contains this data

# connection table version 2
6   0  2    2  3  0  0  0  0       0.3125            0  0  1
6   0  2    1  4  0  0  0  0            0        0.225  0  1
6   0  2    1  5  0  0  0  0       0.6375        0.225  0  1
6   0  2    2  5  0  0  0  0       0.1125       0.6125  0  1
6   0  2    3  4  0  0  0  0       0.5125       0.6125  0  1

Can anyone please help me to fix this problem. What arguments I have
to pass
on the prompt to run AES_CTR_Encrypt???



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to