Skip to content Skip to sidebar Skip to footer
Showing posts with the label Hex

Java Hex Calculation

I have the long value bits declared like so: long bits = len*8L; (304) System.out.println(bits); Th… Read more Java Hex Calculation

Concatenating Hex Bytes And Strings In Javascript While Preserving Bytes

I would like to concatenate a hex value and a string using JavaScript. var hexValue = 0x89; var png… Read more Concatenating Hex Bytes And Strings In Javascript While Preserving Bytes

How To Convert A String Of Hex Values To Ascii

I have a long string variable full of hex values that I need to convert to a string of ASCII charac… Read more How To Convert A String Of Hex Values To Ascii

Fastest Way To Encode Cyrillic Letters For Url

If you copy the link below into the browser http://be.wikipedia.org/wiki/Беларусь it will show th… Read more Fastest Way To Encode Cyrillic Letters For Url

Cryto.createhash Sha512 With Hexdigest Input Type

I am trying to get the same result I obtain at http://jssha.sourceforge.net/ where I have the word … Read more Cryto.createhash Sha512 With Hexdigest Input Type

Converting Fractions Into Hexadecimal

Say you had a number (28.5) and you needed to convert it into hexadecimal. 28 would be 1C, and 29 w… Read more Converting Fractions Into Hexadecimal