るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.057秒)
トップページ > バージョン:2.4.0[x] > ライブラリ:openssl[x] > クエリ:new[x] > クエリ:openssl[x] > クラス:OpenSSL::Cipher::AES[x]

別のキーワード

  1. openssl new
  2. _builtin new
  3. rexml/document new
  4. resolv new
  5. socket new

検索結果

OpenSSL::Cipher::AES.new(bit, mode) -> OpenSSL::Cipher::AES (87634.0)

AES 共通鍵暗号オブジェクトを生成し、返します。

...成し、返します。

AES の鍵長を整数もしくは文字列(256 or "256") bit で、
モードを文字列 mode で指定します。

指定可能な鍵数とモードは OpenSSL::Cipher.ciphers で
取得できます。

@param bit 鍵長整数/文字列
@param mode モード文字列...