[][src]Function ozelot::utils::generate_rsa_key

pub fn generate_rsa_key() -> Rsa<Private>

Generate an RSA key as used by MC.

Call rsa_key_binary to convert it to the format used in EncryptionRequest.