a thoughtful web.
Good ideas and conversation. No ads, no tracking.   Login or Take a Tour!
comment
briandmyers  ·  4468 days ago  ·  link  ·    ·  parent  ·  post: A simple hexadecimal "bignum" library, in C.

I'm not sure what's on this page is the latest I have, but I'll check and see.

I am using it, and the RSA stuff works, but it is painfully slow. Since the public exponent is usually really short, encrypt and decrypt with the public key is usable, but with most private keys, these same functions can literally take hours with 2048-bit keys. Just a heads-up; use OpenSSL if you can, it's hairy but really powerful and fast.