convert a raw string to a Base64 encoded string.
raw string
Base64URL encoded string
rstrtob64("aaa") -> "YWFh" Copy
rstrtob64("aaa") -> "YWFh"
convert a raw string to a Base64 encoded string.