You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

supported.rb 425B

12345678910111213141516
  1. #!/usr/bin/env ruby
  2. $:.unshift File.expand_path File.join File.dirname(__FILE__), '../lib'
  3. require 'rubygems'
  4. require 'bundler/setup'
  5. require 'cryptcheck'
  6. puts 'Supported methods'
  7. puts CryptCheck::Tls::Method::SUPPORTED.sort.collect(&:to_s).join ' '
  8. CryptCheck::Tls::Cipher.each do |method, ciphers|
  9. puts
  10. puts "#{ciphers.size} supported ciphers for #{method}"
  11. ciphers.sort.each do |cipher|
  12. puts " #{cipher}"
  13. end
  14. end