Function reprypt::encrypt [−][src]
pub fn encrypt(text: String, _key: String, convert: bool) -> String
Expand description
Encrypt the passed string.
text
- The string to encrypt._key
- passwordconvert
- Whether to do the conversion in Base64. It is recommended to set this totrue
because without it, the only characters in the encrypted string will be those in the original string.