Basically what I need is an integer that is equal to 2 left-shifted 160 times, so something like 2 << 160. The problem with that is apparently you can't shift something more than 30 times. I found a way to represent it as a string, which looks like this:
Code:
unsigned char pbmodulus[21];
memset(pbmodulus, 0, sizeof(pbmodulus));
pbmodulus[0] = 0x01;
The problem with that is I need it in integer form, and neither atoi nor strtol work. Any suggestions?