Skip to contents

Wrapper for calling tools::md5sum() on objects rather than files.

Usage

md5(x)

Arguments

x

An object

Value

A md5sum object

Details

All x objects are serialized to a temporary file before tools::md5sum() is called.

Examples

md5("hello")
#> 7febcebc923f8ecff5050b81e1b83739
md5(1:10)
#> 85b427e34f04222ce12bd454bf92c32b
md5(data.frame(a = 1:10, b = letters[1:10]))
#> e55134797dbabb10327403843b840d6f