base32_encode: Encode to base32 or Decode from base32
Description
Simple RFC4648 base32 encoder/decoder. Pads with “=”.
Usage
base32_encode(x, use.padding = FALSE)
base32_decode(x, use.padding = FALSE)
Arguments
x
[character(1)]
Character vector to encode or decode.
use.padding
[logical(1)]
If TRUE, base32_encode returns a string whose length is a multiple of 8,
padded with trailing “=” if required.
base32_decode expects such a string unless this is set to FALSE (default).
The internal algorithm currently works with padding, thus it is faster to set this to TRUE.