encode("hello")
encode("hello", padded = FALSE)
encode("hello", alphabet = "rfc4648")
# Decode base32 string
decode("NBSWY3DPEBLW64TMMQ======")
decode_as_string("NBSWY3DPEBLW64TMMQ======")
decode("NBSWY3DPEBLW64TMMQ", padded = FALSE)
Run the code above in your browser using DataLab