Class ::ns_crypto::HashFunctions

::ns_crypto::HashFunctions[i] create ... \
           [ -ctx ctx ] \
           [ -digest (default "sha256") ]

Defined in

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::nx::Object[i]
  • subclass: ::ns_hmac[i], ::ns_md[i]

Methods (to be applied on instances)

  • readfile (scripted, public)

     <instance of ns_crypto::HashFunctions[i]> readfile \
        [ -encoding encoding ] filename

    Read a file blockwise and call the incremental crypto function on every block.

    Switches:
    -encoding (optional, defaults to "hex")
    Parameters:
    filename (required)

    Testcases:
    No testcase defined.