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