Class ::ns_md

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

Defined in

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::ns_crypto::HashFunctions[i]

Methods (to be applied on the object)

  • file (scripted, public)

     ns_md[i] file [ -digest digest ] [ -encoding encoding ] filename args \
        [ args... ]
    Switches:
    -digest (optional, defaults to "sha256")
    -encoding (optional, defaults to "hex")
    Parameters:
    filename (required)
    args (required)

    Testcases:
    No testcase defined.
  • string (scripted, public)

     ns_md[i] string [ -digest digest ] [ -encoding encoding ] message
    Switches:
    -digest (optional, defaults to "sha256")
    -encoding (optional, defaults to "hex")
    Parameters:
    message (required)

    Testcases:
    No testcase defined.

Methods (to be applied on instances)

  • add (scripted, public)

     <instance of ns_md[i]> add message
    Parameters:
    message (required)

    Testcases:
    No testcase defined.
  • destroy (scripted, public)

     <instance of ns_md[i]> destroy

    Testcases:
    No testcase defined.
  • get (scripted, public)

     <instance of ns_md[i]> get [ -encoding encoding ]
    Switches:
    -encoding (optional, defaults to "hex")

    Testcases:
    No testcase defined.