Function rncryptor::v3::encrypt
[−]
[src]
pub fn encrypt(password: &str, plain_text: &PlainText) -> Result<Message>
Encrypts a PlainText
with the given password, producing either an encrypted
Message
or an Error
otherwise.
Note: This is NOT a streaming function.