class Ronin::CLI::Commands::Sha256
Calculates SHA256 hashes of data.
## Usage
ronin sha256 [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
Computes a SHA256 checksum for the given String.
@param [String] string
The input string.
@return [String]
The SHA256 hexdigest of the given String.
# File lib/ronin/cli/commands/sha256.rb, line 60 def process_string(string) Digest::SHA256.hexdigest(string) end