axDecode: Decrypt the code generated for the subject hour confirmations

View source: R/axDecode.R

axDecodeR Documentation

Decrypt the code generated for the subject hour confirmations

Description

The function decrypts the code generated by the genSubjHconf function. It can be used to verify the code on the subject hour confirmations against manipulation.

Usage

axDecode(code, key)

Arguments

code

Code on the subject hour confirmations generated by the genSubjHconf function. The code must be entered without line breaks.

key

Private key object which has to be used to decypt the code.

Value

Returns a decrypted string.

Author(s)

Axel Zinkernagel zinkernagel@uni-landau.de

Examples

## Not run: 
# Decode the code printed on the pdf (code must be in one line!)
load("/my/working/directory/key_323032312d30312d31352031363a34303a3232.rda")
# or load(paste0("/my/working/directory/",whichKey("2021−01−15 16:40:22")))
axDecode("oHtDit5N34y/s+uhOviVKWq/7QGRyQ/M4dP+txAnxpWRcoS...",key)

## End(Not run)


axzinker/axBoost documentation built on July 4, 2024, 9:14 p.m.