Sha256: bff97d7d3c9e323c262eaa39bc0ebceb0bb8b89110cb29d08dd6e372b4153297
Contents?: true
Size: 789 Bytes
Versions: 11
Compression:
Stored size: 789 Bytes
Contents
# frozen_string_literal: true class HashIdentifier # Cryptographic hash function object class Chf # @return [String] name of the identified hash type attr_reader :name # @return [String] John the Ripper hash reference. nil if unknown. attr_reader :john # @return [String] Hashcat hash ID. nil if unknown. attr_reader :hashcat # @return [Boolean] Display by default or not. If true it is displayed in # extended mode only, mostly hash type using salt. attr_reader :extended # @return [Array<String>] Examples of hashes attr_reader :samples def initialize(mode) @name = mode['name'] @john = mode['john'] @hashcat = mode['hashcat'] @extended = mode['extended'] @samples = mode['samples'] end end end
Version data entries
11 entries across 11 versions & 1 rubygems