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