Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/jose/lib/buffer_utils.ts>p2s

"JSON Web Almost Everything" - JWA, JWS, JWE, JWT, JWK, JWKS with no dependencies using runtime's native crypto in Node.js, Browser, Cloudflare Workers, Electron, and Deno.
Extremely Popular
Go to Latest
function p2s
import { p2s } from "https://deno.land/x/jose@v4.8.3/lib/buffer_utils.ts";

Parameters

alg: string
p2sInput: Uint8Array