/usr/local/lib/swipl/library/ext/clib/hash_stream.pl
All Application Manual Name SummaryHelp

  • ext
    • clib
      • socket.pl
      • uid.pl -- User and group management on Unix systems
      • unix.pl
      • syslog.pl
      • memfile.pl
      • time.pl -- Time and alarm library
      • uri.pl
      • filesex.pl -- Extended operations on files
      • uuid.pl -- Universally Unique Identifier (UUID) Library
      • sha.pl -- SHA secure hashes
      • process.pl
      • hash_stream.pl -- Maintain a hash on a stream
        • open_hash_stream/3
        • stream_hash/2
      • md5.pl
      • mallocinfo.pl -- Memory allocation details
      • prolog_stream.pl
      • rlimit.pl
      • streampool.pl
      • crypt.pl
 open_hash_stream(+OrgStream, -HashStream, +Options) is det
Open a filter stream on OrgStream that maintains a hash. The hash can be retrieved at any time using stream_hash/2. Provided options:
algorithm(+Algorithm)
One of md5, sha1, sha224, sha256, sha384 or sha512. Default is sha1.
close_parent(+Bool)
If true (default), closing the filter stream also closes the original (parent) stream.