http://www.cnblogs.com/starwolf/p/3365834.html
http://blog.poxiao.me/p/advanced-encryption-standard-and-block-cipher-mode/
Rijndael (pronounced Reindaal) is a block cipher, designed by Joan Daemen and Vincent Rijmen as a candidate algorithm for the AES.
The cipher has a variable block length and key length. The authors currently specify how to use keys with a length
of 128, 192, or 256 bits to encrypt blocks with al length of 128, 192 or 256 bits (all nine combinations of
key length and block length are possible). Both block length and key length can be extended very easily to
multiples of 32 bits.
Rijndael can be implemented very efficiently on a wide range of processors and in hardware.
分组密码有五种工作体制:1.电码本模式(Electronic Codebook Book (ECB));2.密码分组链接模式(Cipher Block Chaining (CBC));3.计算器模式(Counter (CTR));4.密码反馈模式(Cipher FeedBack (CFB));5.输出反馈模式(Output FeedBack (OFB))。
In ECB mode if the same block is encrypted twice with the same key, the resulting ciphertext blocks are the same.
2.密码分组链接模式(Cipher Block Chaining (CBC))
In CBC Mode a ciphertext block is obtained by first xoring the plaintext block with the previous ciphertext block, and encrypting the resulting value.
3.计算器模式(Counter (CTR))
4.密码反馈模式(Cipher FeedBack (CFB))
In CFB mode a ciphertext block is obtained by encrypting the previous ciphertext block and xoring the resulting value with the plaintext.
5.输出反馈模式(Output FeedBack (OFB))