how can I modularly exponentiate something in rust, for example as when generating ECDH keys

I cannot find a library that gives me an ability for modulo base exponentiation. I need this for implementing ECDH key generation.

Jan 16, 2025 - 04:44
how can I modularly exponentiate something in rust, for example as when generating ECDH keys

I cannot find a library that gives me an ability for modulo base exponentiation. I need this for implementing ECDH key generation.