ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is there a C++ BigInt library for Linux? I have Googled plenty of times, to no avail.
Also note: This library must work with hexadecimal numbers.
Maybe 'Boost' library ?
And how do you exactly describe "hexadecimal numbers" You insist the numbers should be represented as ASCII hex strings, i.e. consist of ASCII characters 0-9a-f ?
Distribution: M$ Windows / Debian / Ubuntu / DSL / many others
Posts: 2,339
Rep:
Quote:
Originally Posted by Sergei Steshenko
And how do you exactly describe "hexadecimal numbers" You insist the numbers should be represented as ASCII hex strings, i.e. consist of ASCII characters 0-9a-f ?
The OP probably means it needs to be able to take numbers in ASCII 0-F and print numbers in ASCII 0-F.
PS:
Manipulating arbitrarily large integers is one thing. Formatted printing of such integers is another. You can definitely do the former with the above SourceForge project; I believe it should be fairly easy to do the latter as well.
What I want to accomplish is brute force of 128-bit hexadecimal numbers. In other words: Using variables to set a range of numbers with a lower limit and upper limit, for the purpose of guessing numbers in between. This in order to, for instance, crack devices for the purpose of jailbreaking them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.