diff options
| author | Rohit Aggarwal <[email protected]> | 2018-04-16 14:45:56 +0100 |
|---|---|---|
| committer | Rohit Aggarwal <[email protected]> | 2018-04-16 14:45:56 +0100 |
| commit | 973a3fede15e52baecaf1a6165dbbb371d173347 (patch) | |
| tree | c677395a2b400e397ae0b005ce8df38581110ac2 /openssl/src | |
| parent | Merge pull request #898 from thomaseizinger/patch-1 (diff) | |
| download | rust-openssl-973a3fede15e52baecaf1a6165dbbb371d173347.tar.xz rust-openssl-973a3fede15e52baecaf1a6165dbbb371d173347.zip | |
Document that encrypt/decrypt use padding
Diffstat (limited to 'openssl/src')
| -rw-r--r-- | openssl/src/symm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/src/symm.rs b/openssl/src/symm.rs index 1937dbc7..904fb8de 100644 --- a/openssl/src/symm.rs +++ b/openssl/src/symm.rs @@ -563,7 +563,7 @@ impl Drop for Crypter { /// Encrypts data in one go, and returns the encrypted data. /// /// Data is encrypted using the specified cipher type `t` in encrypt mode with the specified `key` -/// and initailization vector `iv`. +/// and initailization vector `iv`. Padding is enabled. /// /// This is a convenient interface to `Crypter` to encrypt all data in one go. To encrypt a stream /// of data increamentally , use `Crypter` instead. @@ -602,7 +602,7 @@ pub fn encrypt( /// Decrypts data in one go, and returns the decrypted data. /// /// Data is decrypted using the specified cipher type `t` in decrypt mode with the specified `key` -/// and initailization vector `iv`. +/// and initailization vector `iv`. Padding is enabled. /// /// This is a convenient interface to `Crypter` to decrypt all data in one go. To decrypt a stream /// of data increamentally , use `Crypter` instead. |