Skip to main content
Module

x/bwt/mod.ts>createStringify

Better Web Token - an iteration of web tokens with a bunch of improvements
Latest
function createStringify
import { createStringify } from "https://deno.land/x/bwt@v0.6.0/mod.ts";

Creates a BWT stringify function.

ownSecretKey must be a buffer of 32 bytes. peerPublicKey must be a peer public key object.

Throws TypeErrors if any of its arguments are invalid.

Parameters

ownSecretKey: Uint8Array
peerPublicKey: PeerPublicKey