Skip to content

R-wrapper for PageCrypt. Client-side password-protection for HTML. See the original browser based app by clicking link below.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

brentscott93/pagecryptr

 
 

Repository files navigation

pagecryptr

The goal of pagecryptr is to provide and R-wrapper around the PageCrypt HTML password protecter. It is very common for R users to knit Rmarkdown documents to HTML docs. This provides an easy way to PageCrypt those documents without leaving R. The package has one function self named pagecryptr that uses the V8 package to run the JavaScript code that encrypts the document which usually occurs in the browser if using the PageCrypt website. Note this R package now currently runs the legacy version of PageCrypt.

Installation

Current stable version will be hosted on my drat repository.

# install.packages("drat")
drat::addRepo("brentscott93")
install.packages("pagecryptr")

You can install the development version of pagecryptr from GitHub with:

# install.packages("devtools")
devtools::install_github("brentscott93/pagecryptr")

Example

library(pagecryptr)
if(interactive()){
 file <- system.file("example.html", package = "pagecryptr")
 pagecryptr(file, "password", out_file = "~/Desktop/encrypted-file.html")
}

About

R-wrapper for PageCrypt. Client-side password-protection for HTML. See the original browser based app by clicking link below.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • HTML 99.2%
  • Other 0.8%