R/dt-hash.R
is_sha1.Rd
Is it a SHA-1 digest?
is_sha1(x)
A character vector.
Logical vector; TRUE for a 40-character hex string.
TRUE
Other hash detectors: is_guid(), is_md5(), is_sha256()
is_guid()
is_md5()
is_sha256()
is_sha1(c("da39a3ee5e6b4b0d3255bfef95601890afd80709", NA)) #> [1] TRUE NA