rails/rails — pull request #10235 by jgls (2013-04-16 12:02:13+00:00)
Title: Update message_encryptor.rb

cipher.random_iv must be called after cipher.encrypt and sets the generated IV on the cipher