application:start(crypto).
Type = aes_cbc128.
Key = <<"asdfghkl;'][poi?">>.
IVec = <<0:128>>.
PlainText = <<"abcdefgasdfghjkd">>.
CipherText = crypto:block_encrypt(Type, Key, IVec, PlainText).
crypto:block_decrypt(Type, Key, IVec, CipherText).
注意: Key, IVec, PlainText 必须都为128比特,也就是16字节。