Skip to content
Fast and url-safe base64 encoder and decoder for R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man
src ... Mar 9, 2018
tests
vignettes
.Rbuildignore
.editorconfig
.gitignore
.ignore
.travis.yml
DESCRIPTION
NAMESPACE
NEWS.md
README.md
appveyor.yml

README.md

base64url

CRAN_Status_Badge Build Status Build status Coverage Status

In contrast to base64 RFC3548, the 62nd character ('+') is replaced with '-', the 63rd character ('/') is replaced with '_'. Furthermore, the encoder does not fill the string with trailing '='. The resulting encoded strings comply to the regular expression pattern '[A-Za-z0-9_-]' and thus are safe to use in URLs or for file names.

For a small benchmark, see the vignette.

As of version 1.1, this package also ships with a simple base32 encoder/decoder suited to mangle file names on case insensitive file systems.

Installation

For the stable release, just install the latest version from CRAN:

install.packages("base64url")

For the development version, use devtools:

devtools::install_github("mllg/base64url")
You can’t perform that action at this time.