Simple question I hope. I'm on Visual Studio 2005 with Crypto 5.60. I already have large numbers in byte arrays that I want to put into the Integer class. I've been using the Integer( const byte* encodedInteger, size_t byteCount, Signedness s = UNSIGNED ) constructor to do this.
Here is my question - since the comment says "convert from big endian byte array", do I need to byte swap my byte array to big endian before passing it into this constructor? Is there a way to put my buffer to an Integer without having to byte swap or convert to a string first? My guess is I need to perform the byte swap, but I'm hoping the answer is I do not, or there is some other way I'm overlooking. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. -~----------~----~----~----~------~----~------~--~---
