[]Function themis::keygen::gen_rsa_key_pair

pub fn gen_rsa_key_pair() -> RsaKeyPair

Generates a pair of RSA keys.

RSA keys are supported only by Secure Message objects.

Panics

This function may panic in case of unrecoverable errors inside the library (e.g., out-of-memory or assertion violations).