![]() |
Decimal -> Hexidecimal ASCII Conversion
I am currently in need a converting a 128 byte string into a 64 byte hexidecimal string
The way the conversion is to work is by converting each byte of the 128 byte string into a 2 digit hexadecimal character which would equate to 128 / 2 = 64 bytes The conversion for bytes are 1 byte is equal to 4 Characters so the original string is 512 characters long and the hexadecimal string would be 256 characters long, using these numbers I have tried converting every 4 characters into a hexadecimal but the result is 253 characters and converting that result back results in a different than the original. An Example would be Hexidecimal String Code:
83:4a:9d:04:34:d8:17:73:55:89:f2:2a:46:33:fb:6d:d3:e5:30:db:a1:ea:2b:Code:
3833346139643034333464383137373335353839663232 |
Issue resolved...just used Python & C
|
| All times are GMT. The time now is 10:06 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0