How to create unsigned integers with a length of 256bit in python3?

594 Views Asked by At

Need to perfom bitwise operations like bitwise not, or, and, etc. on unsigned integers with 256 bit length. Is there a lib for that?

Was using numpy to create unsigned integers, but the biggest uint datatype is 64. But now i need to create datatypes like int24 and uint256. Numpy does not support those types.

0

There are 0 best solutions below