PKI: Public Key Infrastucture for R Based on the X.509 Standard

> library(PKI)
Loading required package: base64enc

バージョン: 0.1.3

関数名 概略
ASN1 Functions for handling ASN.1 format (typically DER)
BIGNUMint Functions for BIGNUM representation of arbitrarily precise integers
PKI.crypt PKI encryption/decryption functions
PKI.digest Compute digest sum based on SHA1, SHA256 or MD5 hash functions
PKI.sign PKI: sign content or verify a signature
PKI.sign.tar Functions for signing and verification of tar files
RSA PKI functions handling RSA keys
X509 Public Key Instraftructure (X509) functions
raw2hex Convert raw vector to string hex representation



> key <- PKI.genRSAkey(bits = 2048L)


> raw2hex(PKI.digest(raw(), "SHA1"), "")
[1] "da39a3ee5e6b4b0d3255bfef95601890afd80709"