OhdsiSharing is part of HADES.
generateKeyPair("public.key", "private.key")
encryptFile("data.rds", "data.rds.enc", "public.key")
decryptFile("data.rds.enc", "data2.rds", "private.key")
The OhdsiSharing package is an R package. Cryptography uses the Java Cryptography Architecture.
See the instructions here for configuring your R environment, including Java.
Use these commands in R to download and install the OhdsiSharing package:
install.packages("drat")
drat::addRepo("OHDSI")
install.packages("OhdsiSharing")
Documentation can be found on the package website.
PDF versions of the documentation are also available: * Package manual: OhdsiSharing.pdf
Read here how you can contribute to this package.
OhdsiSharing is licensed under Apache License 2.0. OhdsiSharing uses the Java Secure Channel (JSch) library, which is licensed under BSD style license.