base64url v1.4

0

Monthly downloads

0th

Percentile

Fast and URL-Safe Base64 Encoder and Decoder

In contrast to 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. The package also comes with a simple base32 encoder/decoder suited for case insensitive file systems.

Readme

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")

Functions in base64url

Name Description
base64_urlencode Encode to base64 or Decode from base64
base32_encode Encode to base32 or Decode from base32
No Results!

Vignettes of base64url

Name
Benchmarks.Rmd
No Results!

Last month downloads

Details

Type Package
URL https://github.com/mllg/base64url
BugReports https://github.com/mllg/base64url/issues
NeedsCompilation yes
License GPL-3
Encoding UTF-8
RoxygenNote 6.0.1
VignetteBuilder knitr
Packaged 2018-05-14 09:41:23 UTC; lang
Repository CRAN
Date/Publication 2018-05-14 09:58:28 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/base64url)](http://www.rdocumentation.org/packages/base64url)