class Ronin::CLI::Commands::Sha1

Calculates SHA1 hashes of data.

## Usage

ronin sha1 [options] [FILE ...]

## Options

-f, --file FILE                  Optional file to process
    --string STRING              Optional string to process
-M, --multiline                  Process each line separately
-n, --keep-newlines              Preserves newlines at the end of each line
-h, --help                       Print help information

## Arguments

[FILE ...]                       Optional file(s) to process

Public Instance Methods

process_string(string) click to toggle source
# File lib/ronin/cli/commands/sha1.rb, line 51
def process_string(string)
  Digest::SHA1.hexdigest(string)
end