RSA Rust lib for key generation and encryption

Also, depending on your use case you might be able to use Threshold Key Derivation:

https://forum.dfinity.org/t/threshold-key-derivation-privacy-on-the-ic/16560?u=paulyoung