-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for hexadecimal string in constructor #37
Comments
@prateekroy I don't see how it would be useful. Can you give a few examples? |
@faheel I was thinking of something like this BigInt("0xFFABFF") and support all the operations for this BigInt. BigInt("0xA") + BigInt("1") = "0xB". |
@prateekroy Seems like a useful feature to have for some use cases. If anyone's interested in taking up this issue then feel free to create a PR |
When to expect this feature? |
I would like to have a feature to read a byte array into a BigNum, I'm using this library to get big num data from a server. |
i recomendet use gmp wraper for C++ |
Sorry for the long delay in looking into this feature. Looks like multiple people are interested in it, so I'll take a look at the PR once I get more time. |
Hey is it ok if I look into this feature? |
Handling many bases is better in my opinion |
I think it will be useful for the BigInt to take hex as input and represent it as BigInt and support all the operations? Let me know what you think of it and I can start working on it.
The text was updated successfully, but these errors were encountered: