i'm writing a c implementation of RSA that needs to deal with large int values can i extend the number of bits assigned for int type to handle these large numbers?
No you cannot change the number of bits assigned to a default data type. Int can be 16/32 bits depending on the underlying platform. You will have to keep an array of integers and manipulate it.
If you're working on a UNIX box, most implementations have multiple precision integer library (mp). Do a man on "mp" and it should show you everything you need to know.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.