/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 -- Time and alarm library
      • uri.pl -- Process URIs
      • filesex.pl -- Extended operations on files
      • uuid.pl -- Universally Unique Identifier (UUID) Library
      • 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 -- Create processes and redirect I/O
      • hash_stream.pl -- Maintain a hash on a stream
      • md5.pl -- MD5 hashes
      • mallocinfo.pl -- Memory allocation details
      • udp_broadcast.pl -- A UDP broadcast proxy
      • streampool.pl -- Input multiplexing
 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.