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

Misc
ace.js
amiri
base64
dejavuserif
fireflysung
fixedsys
font_db
fontawesome
ionicons
logging
material-icons
noto-emoji
opensans
queue
sha1

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: 17 days 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  x-widgets 


Top