Commit 1e3b8183 authored by Andy Gauge's avatar Andy Gauge
Browse files

Moved details about function and reworded block requirements

parent f759f8dd
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -9,10 +9,6 @@
//! create a new key with [`new_encrypt`] and perform an encryption/decryption
//! using that key with [`aes_ige`].
//!
//! AES is a 128-bit (16 byte) block cipher.  The rust implmentation will panic
//! if the input or output does not meet this 16-byte boundry.  Attention must
//! be made in this low level implementation to pad the value to the 128-bit boundry.
//!
//! [`new_encrypt`]: struct.AesKey.html#method.new_encrypt
//! [`aes_ige`]: fn.aes_ige.html
//!
@@ -120,6 +116,10 @@ impl AesKey {
/// allows a stream of blocks to be encrypted or decrypted without having the entire
/// plaintext available.  For more information, visit [AES IGE Encryption].
///
/// This block cipher uses 16 byte blocks.  The rust implmentation will panic
/// if the input or output does not meet this 16-byte boundry.  Attention must
/// be made in this low level implementation to pad the value to the 128-bit boundry.
///
/// [AES IGE Encryption]: http://www.links.org/files/openssl-ige.pdf
///
/// # Panics