dnsjit.lib.base64url(3) | Library Functions Manual | dnsjit.lib.base64url(3) |
dnsjit.lib.base64url - Utility library to convert data to base64url format
local base64url = require("dnsjit.lib.base64url")
local encoded = base64url.encode("abcd")
local decoded = base64url.decode(encoded)
local pl -- pl is core.object.payload
local encoded = base64url.encode(pl.payload, pl.len)
Encode and decode data to/from base64url format.
data_len is length of the input data (optional for lua strings, required for C byte arrays).
Jerry Lundström (DNS-OARC), Tomáš Křížek (CZ.NIC), Petr Špaček (ISC)
Maintained by DNS-OARC
For issues and feature requests please use:
For question and help please use:
1.2.3 | dnsjit |