News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Howto convert?

Started by LAS3R, January 16, 2005, 10:08:18 PM

Previous topic - Next topic

LAS3R

How do i convert "6CB8D15B5763A37052DECE48A1A138AE" to "l¸Ñ[Wc£pRÞÎH¡¡8®" in masm?

guess it is hex 2 ascii but not sure!


thomasantony

Hi,
  Dunno if this works, but try printing the buffer to console or an edit control

:bdg

Thomas Antony :U
There are 10 types of people in the world. Those who understand binary and those who don't.


Programmer's Directory. Submit for free

hutch--

Laser,

It depends what toys you are using. I would try converting each 2 characters to a BYTE values first then write it to another memory buffer. Have a look at an algo in the MASM32 library called "hex2bin" as it should be plenty fast enough to do the conversion.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

LAS3R

Thx for info both of you, i give it try!