Back

sign (clj)

(source)

function

(sign payload pkey) (sign payload pkey {:keys [alg header], :or {alg :hs256}, :as opts})
Sign arbitrary length string/byte array using json web token/signature

Examples