Lines Matching defs:encrypt
8 //! use openssl::symm::{encrypt, Cipher};
14 //! let ciphertext = encrypt(
32 //! // Generate keypair and encrypt private key:
43 //! // Use the asymmetric keys to encrypt and decrypt a short message:
615 /// Data is encrypted using the specified cipher type `t` in encrypt mode with the specified `key`
618 /// This is a convenient interface to `Crypter` to encrypt all data in one go. To encrypt a stream
626 /// use openssl::symm::{encrypt, Cipher};
632 /// let ciphertext = encrypt(
643 pub fn encrypt(
706 /// Like `encrypt`, but for AEAD ciphers such as AES GCM.