encrypt

Function encrypt 

Source
pub fn encrypt(
    plain_text: &[u8],
    public_key_str: &str,
) -> Result<Vec<u8>, RsaUtilsError>
Expand description

Encrypt data with RSA public key (supports data larger than key size via chunking)