/usr/local/lib/swipl/library/ext/clib/sha.pl
All Application Manual Name SummaryHelp

  • ext
    • clib
      • socket.pl
      • uid.pl
      • unix.pl
      • syslog.pl
      • memfile.pl
      • time.pl
      • uri.pl -- Process URIs
      • filesex.pl
      • uuid.pl
      • sha.pl -- SHA secure hashes
        • sha_hash/3
        • sha_new_ctx/2
        • sha_hash_ctx/4
        • hmac_sha/4
        • file_sha1/2
        • hash_atom/2
      • process.pl
      • hash_stream.pl
      • md5.pl
      • rlimit.pl
      • mallocinfo.pl
      • prolog_stream.pl -- A stream with Prolog callbacks
      • udp_broadcast.pl
      • streampool.pl
      • cgi.pl
 file_sha1(+File, -SHA1:atom) is det
True when SHA1 is the SHA1 hash for the content of File. Options is passed to open/4 and typically used to control whether binary or text encoding must be used. The output is compatible to the sha1sum program found in many systems.