lights FAQ Forum github.com/luapower/base64
This package
base64

Data Exchange
base64
cjson
msgpack
expat
genx
csv
xlsxwriter

base64

Base64 encoding & decoding


local b64 = require'base64'

Fast base64 encoding & decoding in Lua with ffi.

API

b64.encode|decode -> s | outbuf, len

Encode/decode string or cdata buffer.

b64.urlencode|decode -> s

Encode/decode URL based on RFC4648 Section 5 / RFC7515 Section 2 (JSON Web Signature).


Last updated: 10 months ago | Edit on GitHub

Package:base64
Pkg type:Lua+ffi
Version: 5db2368
Last commit:
Author: Cosmin Apreutesei
License: Public Domain

Requires: luajit 

Required by: http  tarantool  webb  sqlpp  x-widgets 


Top