Re: "space" in hex?

Tech-Archive recommends: Fix windows errors by optimizing your registry



Argusy wrote:
dalz via VBMonster.com wrote:

I have problem in converting "space" to hex and be read again as "space" in
string

Ex: input text = abcd defg
I must convert this text to hex so it can be store to the card
Then when the card is read by the reader it must return the same result =
abcd defg

But what happening is:

input text = abcd defg
result in hex = 61 62 63 64 20 64 65 66 67 convert it again to string = abcdAIKM'

how to read the "space"??

thanks


Something wrong, there.

Lower case "abcd defg" should be 96, 97, 98, 99 20 99 100 101 102

Take another look at your encrypting algorithm. It aint right

Argusy


Innit marvelous!!

Go away for 30 minutes, re-read it and you can see I've been a right proper nong.
The hex (Hex, Graham, HEX) conversion is correct as dalz has wrote (sic) it.

Please show the code you're using - then we can figure out what the problem is

Argusy

.



Relevant Pages

  • Re: IPAQ h5550 + WLAN
    ... Start>Settings>Connections>Connections>Advanced>Network Card? ... you enter the wep are you using hex or passphrase. ... Wireles zero ...
    (microsoft.public.pocketpc.wireless)
  • Re: Decimal-Hex-Binary coverter
    ... >> looks decimal numbers does not conform the hex and binary format. ... > It is the card which is confusing you. ... I have no task to get report in my custom format, ...
    (microsoft.public.windowsxp.general)
  • Re: Decimal-Hex-Binary coverter
    ... >> looks decimal numbers does not conform the hex and binary format. ... > It is the card which is confusing you. ... 0,1,2,3 - is not digits, its just rides quantity, it does not conform the hex and binary format. ...
    (microsoft.public.windowsxp.general)
  • Re: [Full-disclosure] SmartCards programming...
    ... I found nothing about the language to use with Infinity USB, ... provide it a .hex file... ... > the content of the card or the stored key when the authentication is doing ...
    (Full-Disclosure)
  • Re: "space" in hex?
    ... input text = abcd defg ... I must convert this text to hex so it can be store to the card ... convert it again to string = abcdAIKM' ...
    (microsoft.public.vb.syntax)