Prev: Hello, guys! I just confirmed the complete and utterdetestation of an entire arm of cryptography!? Little applause, comeon.... I work hard.. :)
Next: A A
From: rossum on 22 May 2010 11:40 On Fri, 21 May 2010 15:22:00 +0100, rossum <rossum48(a)coldmail.com> wrote: Whoops! Looks like I don't know as much Java as I thought I did. > /** enum for allowed number bases. */ > public enum Base { > HEX('H'), // Upper case hex: AF > LOWER_HEX('h'), // Lower case hex: af HEX('X'), // Upper case hex: AF LOWER_HEX('x'), // Lower case hex: af > DECIMAL('d'); > > private final char mBase; > > Base(char b) { mBase = b; } > > public char getBase() { return mBase; } > } // end enum Base rossum
From: jmorton123 on 5 Jun 2010 08:33 One of the additional utility programs available with the BulletProof Random Number Generator freeware is the Binary to Decimal Conversion Utility Program. It's available at KingKonglomerate.com at the Downloads page. JM On May 20, 3:14 am, "astral" <ast...(a)news.eternal-september.org> wrote: > Does some know free Binary file (exe) to decimal values converter, and > Binary file to Hex converter ("two-in-one" utility). With option to select > delimiter. i I googled many times, but did find anything. All binary to > decimal / hex converters are online scripts for converting between different > representations of numbers, whereas I need utility that take binary EXE file > as unput and convert it into decimal format, allows save it in text file.
From: Bryan on 5 Jun 2010 12:29
Mok-Kong Shen wrote: > astral wrote: > > Does some know free Binary file (exe) to decimal values converter, and > > Binary file to Hex converter ("two-in-one" utility). [snip] > > My knowledge being poor, I like to learn something at this opportunity > by asking a question: What could be the basic programming difficulty > underlying this issue? I presume, if I don't err, that any binary file > could be read in wordwise and then write out formatted in decimal > or hexadecimal digits in C. It's a reasonable exercise. Converting binary to decimal is obviously not an open research problem, but it does come up. A competent programmer ought to be able to tackle it efficiently. Mr. Shen, how far did you get? Please show your work. -- --Bryan |