From: "Ryan S." Date: 2013-05-21T00:51:01+09:00 Subject: Re: why first 16 bytes are wrong with ruby openssl aes 128 cbc ? Hello David, If I understand you correctly, this seems to be caused by what is outlined here: http://www.ruby-doc.org/stdlib-2.0/libdoc/openssl/rdoc/OpenSSL/Cipher.html Under the section "auth_tag([ tag_len ] → string" It looks like this is happening because you didn't invoke tag_len. -- Posted via http://www.ruby-forum.com/.