makaveli713 / ECEC

El Gamal cryptography on an elliptic curve
0 stars 0 forks source link

int to BigInteger #19

Closed makaveli713 closed 11 years ago

makaveli713 commented 11 years ago
public static byte[] GetBits(int number) 

has integer parameter, i have to change it on BigInteger but then i have a problem with shifts (number >> i) & 1 because i is type of BigInteger instead of int type