Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > opensslライブラリ > OpenSSL::Cipherクラス > key_len=
key_len=(length)
暗号鍵の長さを変更します。