<% %i(TLSv1_2).each do |protocol| context = OpenSSL::SSL::SSLContext.new protocol rescue next %> <% context.ciphers = 'ALL:COMPLEMENTOFALL' context.ciphers.collect { |c| CryptCheck::Tls::Cipher.new protocol, c } .sort { |a, b| -1 * (a.size <=> b.size)}.each do |cipher| %> <% state = cipher.state %> <% end %> <% end %>
Algorithme Taille
<%= cipher_name_label cipher, state %> <%= cipher_size_label cipher %> <%= cipher_labels state %>