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