singleton method OpenSSL::Cipher.ciphers

ciphers -> [String][permalink][rdoc][edit]

利用可能な暗号方式名を文字列の配列で返します。

require 'openssl'

OpenSSL::Cipher.ciphers
# => ["AES-128-CBC", "AES-128-CFB", "AES-128-CFB1", "AES-128-CFB8", "AES-128-ECB", "AES-128-OFB", "AES-192-CBC", ... ]