12 SHA* Secure Hash Algorithms
AllApplicationManualNameSummaryHelp

  • 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'.