On Dec 3, 7:02 am, pulsedrone <[email protected]> wrote:
> Hi again,
>
> I forgot....maybe i got the wrong format for one of the values for
> Initialize...but i dont now exactly:
>
> n=0xAHugeHex as a String
> e=0xAHex as a String
> d=0xAHugeHex as a String
>
> is this correct? because i found out that PKCS#v1.5 needs a binary
> format for e: 0x10001 for example. But i dont know how far Initalize
> reaches during validating the inputs.
Both a prefix of '0x' and a suffix of 'h' will produce correct
results. For example, the following are equivalent:
Integer x1("0x1234567890abcdef");
cout << x1 << endl;
Integer x2("1234567890abcdefh");
cout << x2 << endl;
Jeff
--
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.