• 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

12 SHA* Secure Hash Algorithms
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog C-library
        • SHA* Secure Hash Algorithms
          • sha_hash/3
          • hmac_sha/4
          • hash_atom/2
          • License terms
Availability::- use_module(library(sha)).(can be autoloaded)
Sourcehash_atom(+Hash, -HexAtom)
True when HexAtom is the commonly used hexadecimal encoding of the hash code. E.g.,
?- sha_hash('SWI-Prolog', Hash, []),
   hash_atom(Hash, Hex).
Hash = [61, 128, 252, 38, 121, 69, 229, 85, 199|...],
Hex = '3d80fc267945e555c730403bd0ab0716e2a68c68'.

ClioPatria (version V3.1.1-51-ga0b30a5)