md5sum
Compute MD5 Checksums

### Description

Computes MD5 checksums of one or more files.

### Usage

    md5sum(files)

### Arguments

files | a character vector specifying the file names in which to compute checksum. Neither NAs nor NULL are allowed.

### Details

This function uses the MD5 Message-Digest Algorithm (RFC 1321) to compute MD5 checksums of files on disk.
Value
returns a character vector containing the string representations of the calculated MD5 checksums (represented as a string). The names of this vector are the given filenames.
If one of the following conditions exist for a filename, NA is returned for the filename:

- If the filename does not exist.
- If the file is not a regular file.
- If the function encounters any failures during computation.

References
Rivest, R. The MD5 Message-Digest Algorithm.. http://tools.ietf.org/html/rfc1321 Cambridge, MA: MIT Laboratory for Computer Science.
See Also
computeMessageDigest
Examples

    ## Not run:
    ## make sure following files existing in the working directory.
    md5sum(c("file1.txt", "file2.bin", "file3.doc")
    ## NA will be given for "foo"
    md5sum("foo")

    ## End(Not run)

Package tools version 6.1.5-18
Package Index