GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cli/man/hash_md5.Rd at main · multimeric/cli

Expand file tree

/

hash_md5.Rd

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
62 lines (52 loc) · 1.47 KB
/

hash_md5.Rd

Copy path

File metadata and controls

62 lines (52 loc) · 1.47 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/hash.R
\name{hash_md5}
\alias{hash_md5}
\alias{hash_raw_md5}
\alias{hash_obj_md5}
\alias{hash_file_md5}
\title{MD5 hash}
\usage{
hash_md5(x)
hash_raw_md5(x)
hash_obj_md5(x, serialize_version = 2)
hash_file_md5(paths)
}
\arguments{
\item{x}{Character vector. If not a character vector, then
\code{\link[=as.character]{as.character()}} is used to try to coerce it into one. \code{NA} entries
will have an \code{NA} hash.}
\item{serialize_version}{Workspace format version to use, see
\code{\link[base:serialize]{base::serialize()}}.}
\item{paths}{Character vector of file names.}
}
\value{
\code{hash_md5()} returns a character vector of hexadecimal MD5
hashes.
\code{hash_raw_md5()} returns a character scalar.
\code{hash_obj_md5()} returns a character scalar.
}
\description{
Calculate the MD5 hash of each element of a character vector.
}
\details{
\code{hash_raw_md5()} calculates the MD5 hash of the bytes
of a raw vector.
\code{hash_obj_md5()} calculates the MD5 hash of an R
object. The object is serialized into a binary vector first.
\code{hash_file_md5()} calcultaes the MD5 hash of one of more
files.
}
\examples{
hash_md5(c("foo", NA, "bar", ""))
}
\seealso{
\code{\link[tools:md5sum]{tools::md5sum()}} for a base R MD5 function that works on
files.
Other hash functions:
\code{\link{hash_animal}()},
\code{\link{hash_emoji}()},
\code{\link{hash_sha1}()},
\code{\link{hash_sha256}()}
}
\concept{hash functions}
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.