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 - password
  • convert - Whether to do the conversion in Base64. It is recommended to set this to true because without it, the only characters in the encrypted string will be those in the original string.