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

13 library(md5): MD5 hashes
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog C-library
        • library(md5): MD5 hashes
          • md5_hash/3
Availability::- use_module(library(md5)).(can be autoloaded)
Source[det]md5_hash(+Data, -Hash, +Options)
Hash is the MD5 hash of Data, The conversion is controlled by Options:
encoding(+Encoding)
If Data is a sequence of character codes, this must be translated into a sequence of bytes, because that is what the hashing requires. The default encoding is utf8. The other meaningful value is octet, claiming that Data contains raw bytes.
Data is either an atom, string, code-list or char-list.
Hash is an atom holding 32 characters, representing the hash in hexadecimal notation
ClioPatria (version V3.1.1-51-ga0b30a5)