sym_dec: Standard sship symmetric decryption

View source: R/dec.R

sym_decR Documentation

Standard sship symmetric decryption

Description

Standard sship symmetric decryption

Usage

sym_dec(data, key, iv = attr(data, "iv"))

Arguments

data

raw vector or path to file with data to encrypt or decrypt

key

raw vector of length 16, 24 or 32, e.g. the hash of a shared secret

iv

raw vector of length 16 (aes block size) or NULL. The initialization vector is not secret but should be random

Value

A raw vector of decrypted data.


sship documentation built on Dec. 28, 2022, 2:01 a.m.