sffhmac

sffhmac

Generate an MD5, SHA1, SHA224, SHA256, SHA384 or SHA512 signature from input
file or string.

If no file is specified, any string following all the parameters is used

sffhmac -Z sha256 -I 'appid=fip123' -k '7d11beed7346bf00a8c6063dc4003c47' -H -D

Input Variables :
    -i : file containing a string   no default
    -s or
    -I : input as a string      no default
        make sure any metachrs are escaped !
    -k : key            no default
optionals
    -B : no conversion of output        default: base64
    -H : convert output to HEX      default: base64
    -U : if output is Hex, force Upper  default: lower case
    -d : DO NOT display internals       default: just the output string
    -h : strip FipHdr from input file   default: fh is also data
    -o : output file            default is to display only
    -Z : type               default: sha1
        md5 sha1 sha224 sha256 sha384 sha512
    -v : display version and exit

Version Control
;01d    30dec16 chris original ;c redid doc

(copyright) 2018 and previous years FingerPost Ltd.