3.5.4 Hashing incrementally
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog SSL Interface
        • library(crypto): Cryptography and authentication library
          • Hashes
            • Hashing incrementally
              • crypto_context_new/2
              • crypto_data_context/3
              • crypto_context_hash/2
              • crypto_open_hash_stream/3
              • crypto_stream_hash/2
Availability::- use_module(library(crypto)).(can be autoloaded)
Source[det]crypto_stream_hash(+HashStream, -Hash)
Unify Hash with a hash for the bytes sent to or read from HashStream. Note that the hash is computed on the stream buffers. If the stream is an output stream, it is first flushed and the Digest represents the hash at the current location. If the stream is an input stream the Digest represents the hash of the processed input including the already buffered data.