fs::torrent::get_hashsum (public, deprecated)

 fs::torrent::get_hashsum -filename filename

Defined in packages/file-storage/tcl/file-storage-torrent-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Get hashsum for the file using SHA1 hashsum technique. DEPRECATED: NaviServer can now perform such a digest in a oneliner that won't require slurping the file first.

Switches:
-filename (required)
Name of file to get hashsum for. Must be in absolute path format.
Returns:
Hashsum of file in hexa.
Author:
Al-Faisal El-Dajani <faisal.dajani@gmail.com>
Created:
2005-10-25
See Also:
  • ns_md

Testcases:
No testcase defined.
[ show source ]
Show another procedure: