PKI.digest {PKI} | R Documentation |
PKI.digest
computes digsest sum based on the hash function
specified
PKI.digest(what, hash = c("SHA1", "SHA256", "MD5"))
what |
raw vector of bytes to digest |
hash |
type of the hash function. Note that "MD5" should not be used for cryptographic purposes as it is not secure |
Raw vector containg the hash
Simon Urbanek
PKI.digest(as.raw(1:10))