From 64106c4d3d4ddba8c7bc2af75376e6d3d3d75601 Mon Sep 17 00:00:00 2001 From: Date: Mon, 29 Jun 2015 20:16:15 +0000 Subject: Update documentation --- openssl/crypto/symm/struct.Crypter.html | 116 ++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 openssl/crypto/symm/struct.Crypter.html (limited to 'openssl/crypto/symm/struct.Crypter.html') diff --git a/openssl/crypto/symm/struct.Crypter.html b/openssl/crypto/symm/struct.Crypter.html new file mode 100644 index 0000000..de2b90b --- /dev/null +++ b/openssl/crypto/symm/struct.Crypter.html @@ -0,0 +1,116 @@ + + + + + + + + + + openssl::crypto::symm::Crypter - Rust + + + + + + + + + + + + + + + +
+

Struct openssl::crypto::symm::Crypter + + [] + + [src]

+
pub struct Crypter {
+    // some fields omitted
+}

Represents a symmetric cipher context.

+

Methods

impl Crypter

fn new(t: Type) -> Crypter

+

fn pad(&self, padding: bool)

+

Enables or disables padding. If padding is disabled, total amount of +data encrypted must be a multiple of block size.

+

fn init<T: AsRef<[u8]>>(&self, mode: Mode, key: &[u8], iv: T)

+

Initializes this crypter.

+

fn update(&self, data: &[u8]) -> Vec<u8>

+

Update this crypter with more data to encrypt or decrypt. Returns +encrypted or decrypted bytes.

+

fn finalize(&self) -> Vec<u8>

+

Finish crypting. Returns the remaining partial block of output, if any.

+

Trait Implementations

impl Drop for Crypter

fn drop(&mut self)

+
+ + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3