• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

3.2 Hashes and digests
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog SSL Interface
        • library(crypto): Cryptography and authentication library
          • Hashes and digests
            • crypto_data_hash/3
            • crypto_file_hash/3
            • hex_bytes/2
            • 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_data_context(+Data, +Context0, -Context)
Context0 is an existing computation context, and Context is the new context after hashing Data in addition to the previously hashed data. Context0 may be produced by a prior invocation of either crypto_context_new/2 or crypto_data_context/3 itself.

This predicate allows a hash to be computed in chunks, which may be important while working with Metalink (RFC 5854), BitTorrent or similar technologies, or simply with big files.

ClioPatria (version V3.0.0-338-gc91dba5-DIRTY)