Click here to Skip to main content
15,885,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question3DES encryption. Pin
Sudhan Gandhi21-Jun-09 21:14
Sudhan Gandhi21-Jun-09 21:14 
AnswerRe: 3DES encryption. Pin
CPallini21-Jun-09 21:24
mveCPallini21-Jun-09 21:24 
GeneralRe: 3DES encryption. Pin
Sudhan Gandhi22-Jun-09 1:17
Sudhan Gandhi22-Jun-09 1:17 
GeneralRe: 3DES encryption. Pin
CPallini22-Jun-09 1:49
mveCPallini22-Jun-09 1:49 
AnswerRe: 3DES encryption. Pin
Stuart Dootson21-Jun-09 23:47
professionalStuart Dootson21-Jun-09 23:47 
Question[SOLVED] possible to pass in a string as UNICODE? Pin
UserNameless21-Jun-09 20:53
UserNameless21-Jun-09 20:53 
QuestionRe: possible to pass in a string as UNICODE? Pin
CPallini21-Jun-09 21:17
mveCPallini21-Jun-09 21:17 
AnswerRe: possible to pass in a string as UNICODE? Pin
UserNameless21-Jun-09 21:32
UserNameless21-Jun-09 21:32 
lol u asked for it   Cry | :(( i don't know how familiar you are with the CAPICOM functions but this is bascially the code and below is what i want the outcome to be:

<pre>
CAPICOM::ISignerPtr signer(__uuidof(Signer));
CAPICOM::ISignedDataPtr sigData(__uuidof(SignedData));
sigData->Content = "Data to Sign";
_bstr_t sigStr = sigData->Sign(signer,true,CAPICOM_ENCODE_BASE64);
cout<<"\n\nVerified String: "<<sigData->Verify(sigStr, true, CAPICOM_VERIFY_SIGNATURE_ONLY)<<endl;
</pre>
This code sets the content to be signed to "Data to Sign", and creates a hash with the signer's private key(can be displayed by cout<<sigStr;).   in Verify function it should (it does in java) display the decrypted string (i.e "Data to Sign" on the console, whereas I'm getting a 0 on my end   Dead | X| ).   I read the article http://www.codeproject.com/KB/security/CapicomUTF8.aspx and it mentioned that fact that it wants unicode. uh... hope that helps you figure out what i'm trying to say... Sigh | :sigh:
GeneralRe: possible to pass in a string as UNICODE? Pin
CPallini21-Jun-09 21:46
mveCPallini21-Jun-09 21:46 
GeneralRe: possible to pass in a string as UNICODE? [modified] Pin
UserNameless21-Jun-09 21:55
UserNameless21-Jun-09 21:55 
QuestionHow to change the forms and dialogs look and feel Pin
suthakar5621-Jun-09 19:55
suthakar5621-Jun-09 19:55 
AnswerRe: How to change the forms and dialogs look and feel Pin
TyrionTheImp21-Jun-09 20:07
TyrionTheImp21-Jun-09 20:07 
GeneralRe: How to change the forms and dialogs look and feel Pin
suthakar5621-Jun-09 22:27
suthakar5621-Jun-09 22:27 
AnswerRe: How to change the forms and dialogs look and feel Pin
Hamid_RT22-Jun-09 3:26
Hamid_RT22-Jun-09 3:26 
GeneralRe: How to change the forms and dialogs look and feel Pin
TyrionTheImp22-Jun-09 23:38
TyrionTheImp22-Jun-09 23:38 
QuestionHow can use Scheduler ? Pin
Le@rner21-Jun-09 19:27
Le@rner21-Jun-09 19:27 
AnswerRe: How can use Scheduler ? Pin
«_Superman_»21-Jun-09 19:38
professional«_Superman_»21-Jun-09 19:38 
AnswerRe: How can use Scheduler ? Pin
Rajesh R Subramanian22-Jun-09 1:45
professionalRajesh R Subramanian22-Jun-09 1:45 
QuestionC++ Vulnerablity Pin
SNI21-Jun-09 18:38
SNI21-Jun-09 18:38 
AnswerRe: C++ Vulnerablity Pin
«_Superman_»21-Jun-09 18:59
professional«_Superman_»21-Jun-09 18:59 
GeneralRe: C++ Vulnerablity Pin
SNI21-Jun-09 19:10
SNI21-Jun-09 19:10 
QuestionCreateNewChild and mouse messages Pin
prithaa21-Jun-09 15:13
prithaa21-Jun-09 15:13 
QuestionError when creating classes for dialog boxes or new class Pin
l_d21-Jun-09 7:06
l_d21-Jun-09 7:06 
AnswerRe: Error when creating classes for dialog boxes or new class Pin
«_Superman_»21-Jun-09 16:20
professional«_Superman_»21-Jun-09 16:20 
AnswerRe: Error when creating classes for dialog boxes or new class Pin
David Crow22-Jun-09 4:10
David Crow22-Jun-09 4:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.