PKI.digest: Compute digest sum based on SHA1, SHA256 or MD5 hash...

Description Usage Arguments Value Author(s) See Also Examples

Description

PKI.digest computes digsest sum based on the hash function specified

Usage

1
PKI.digest(what, hash = c("SHA1", "SHA256", "MD5"))

Arguments

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

Value

Raw vector containg the hash

Author(s)

Simon Urbanek

See Also

PKI.sign

Examples

1

NCEAS/PKIplus documentation built on May 7, 2019, 5:58 p.m.