Class: CoBreak::List
- Inherits:
-
Object
- Object
- CoBreak::List
- Defined in:
- lib/cobreak/list_all.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ List
constructor
all list formats and types.
Constructor Details
#initialize(options) ⇒ List
all list formats and types
4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/cobreak/list_all.rb', line 4 def initialize() all = Array.new all << "Base64" << "Base32" << "Base16" << "Ascii85" << "Binary" << "Cesar" if (.list.eql?("type")) puts "\nMode Cipher:" puts all end all.clear all << "MD4" << "MD5" << "SHA1" << "SHA224" << "SHA256" << "SHA384" << "SHA512" << "RIPEMD160" if (.list.eql?("format")) puts "\nMode Cryptography:" puts all end end |