Click here to Skip to main content
15,897,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: LNK2001 error Pin
prasad_som16-Jan-07 1:23
prasad_som16-Jan-07 1:23 
QuestionRe: LNK2001 error Pin
David Crow16-Jan-07 3:02
David Crow16-Jan-07 3:02 
AnswerRe: LNK2001 error Pin
Cedric Moonen16-Jan-07 0:52
Cedric Moonen16-Jan-07 0:52 
GeneralRe: LNK2001 error Pin
shivapriyak16-Jan-07 0:58
shivapriyak16-Jan-07 0:58 
AnswerRe: LNK2001 error Pin
Hamid_RT16-Jan-07 1:16
Hamid_RT16-Jan-07 1:16 
AnswerRe: LNK2001 error Pin
KarstenK16-Jan-07 3:00
mveKarstenK16-Jan-07 3:00 
GeneralRe: LNK2001 error Pin
David Crow16-Jan-07 3:03
David Crow16-Jan-07 3:03 
QuestionConverting encrypted data into string/decimal and vice versa Pin
vgandhi16-Jan-07 0:17
vgandhi16-Jan-07 0:17 
Hello,
I am creating a challenge response application and in that making a call to encrypt a buffer that looks like

PBYTE pBufPtr
if(!Encrypt(hKey, 0, TRUE, 0,(BYTE *)pBufPtr, &dwCount, dwBufferLen))

In this case I want to take the encrypted data pBufPtr and display it as a string to the user. So any suggestions on how I can convert the pBufPtr into a decimal number or string that can be displayed to the user for typing purposes.

Also the decimal or string value obtained by converting the pBufPtr needs to be converted back into the encrypted data for the response side of the application.

So I need to convert encrypted data into string/decimal/BCD and take that string/decimal/BCD and convert it back into the encrypted data buffer.

So please let me know how is this possible. Thank you.

vg
AnswerRe: Converting encrypted data into string/decimal and vice versa Pin
Rage16-Jan-07 1:32
professionalRage16-Jan-07 1:32 
GeneralRe: Converting encrypted data into string/decimal and vice versa Pin
vgandhi16-Jan-07 8:40
vgandhi16-Jan-07 8:40 
AnswerRe: Converting encrypted data into string/decimal and vice versa Pin
James R. Twine16-Jan-07 3:52
James R. Twine16-Jan-07 3:52 
GeneralRe: Converting encrypted data into string/decimal and vice versa Pin
vgandhi16-Jan-07 9:15
vgandhi16-Jan-07 9:15 
GeneralRe: Converting encrypted data into string/decimal and vice versa Pin
James R. Twine16-Jan-07 11:34
James R. Twine16-Jan-07 11:34 
GeneralRe: Converting encrypted data into string/decimal and vice versa Pin
vgandhi17-Jan-07 20:38
vgandhi17-Jan-07 20:38 
GeneralRe: Converting encrypted data into string/decimal and vice versa Pin
vgandhi17-Jan-07 19:19
vgandhi17-Jan-07 19:19 
GeneralRe: Converting encrypted data into string/decimal and vice versa Pin
James R. Twine18-Jan-07 12:51
James R. Twine18-Jan-07 12:51 
GeneralRe: Converting encrypted data into string/decimal and vice versa Pin
vgandhi22-Jan-07 18:56
vgandhi22-Jan-07 18:56 
GeneralRe: Converting encrypted data into string/decimal and vice versa Pin
James R. Twine23-Jan-07 14:45
James R. Twine23-Jan-07 14:45 
AnswerRe: Converting encrypted data into string/decimal and vice versa Pin
Michael Dunn16-Jan-07 8:35
sitebuilderMichael Dunn16-Jan-07 8:35 
GeneralRe: Converting encrypted data into string/decimal and vice versa Pin
vgandhi16-Jan-07 9:16
vgandhi16-Jan-07 9:16 
GeneralRe: Converting encrypted data into string/decimal and vice versa Pin
vgandhi17-Jan-07 19:22
vgandhi17-Jan-07 19:22 
QuestionHow to insert drawings.. [modified] Pin
Shah Satish16-Jan-07 0:06
Shah Satish16-Jan-07 0:06 
AnswerRe: How to insert drawings.. Pin
Hamid_RT16-Jan-07 1:20
Hamid_RT16-Jan-07 1:20 
GeneralRe: How to insert drawings.. [modified] Pin
toxcct16-Jan-07 0:12
toxcct16-Jan-07 0:12 
GeneralRe: How to insert drawings.. Pin
Hamid_RT16-Jan-07 1:13
Hamid_RT16-Jan-07 1:13 

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.