view util/bit53.lua @ 10660:c4ded3be7cc0

util.jwt: Basic JSON Web Token library supporting HS256 tokens
author Kim Alvefur <zash@zash.se>
date Mon, 24 Feb 2020 01:24:25 +0100
parents 48f7cda4174d
children d77d8fba44ad
line wrap: on
line source

-- Only the operators needed by net.websocket.frames are provided at this point
return {
	band   = function (a, b) return a & b end;
	bor    = function (a, b) return a | b end;
	bxor   = function (a, b) return a ~ b end;
};