class CoBreak::List

Public Class Methods

new(options) click to toggle source

all list formats and types

# File lib/cobreak/list_all.rb, line 4
def initialize(options)
  all = Array.new
  all << "Base64" << "Base32" << "Base16" << "Ascii85" << "Binary" << "Cesar"
  if (options.list.eql?("type"))
    puts "\nMode Cipher:"
    puts all
  end
  all.clear
  all << "MD4" << "MD5" << "SHA1" << "SHA224" << "SHA256" << "SHA384" << "SHA512" << "RIPEMD160"
  if (options.list.eql?("format"))
    puts "\nMode Cryptography:"
    puts all
  end
end