Skip to main content
Deno 2 is finally here 🎉️
Learn more
->
Dismiss
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Modules
Standard Library
JSR
Node.js & npm
Current path
deno.land/x
Community
Discord
GitHub
X
YouTube
Mastodon
Blog
Search…
⌘K
Module
x
/
jose
/
runtime
/
random.ts
JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes.
panva/jose
Extremely Popular
Version
v5.9.6
v5.9.5
v5.9.4
v5.9.3
v5.9.2
v5.9.1
v5.9.0
v5.8.0
v5.7.0
v5.6.3
v5.6.2
v5.6.1
v5.6.0
v5.5.0
v5.4.1
v5.4.0
v5.3.0
v5.2.4
v5.2.3
v4.15.5
v5.2.2
v5.2.1
v5.2.0
v5.1.3
v5.1.2
v5.1.1
v5.1.0
v5.0.2
v5.0.1
v5.0.0
v4.15.4
v4.15.3
v4.15.2
v4.15.1
v4.15.0
v4.14.6
v4.14.5
v4.14.4
v4.14.3
v4.14.2
v4.14.1
v4.14.0
v4.13.2
v4.13.1
v4.13.0
v4.12.2
v4.12.1
v4.12.0
v4.11.4
v4.11.3
v4.11.2
v4.11.1
v4.11.0
v4.10.4
v4.10.3
v4.10.2
v4.10.1
v4.10.0
v4.9.3
v4.9.2
v3.20.4
v4.9.1
v4.9.0
v4.8.3
v4.8.2
v4.8.1
v4.8.0
v4.7.0
v4.6.2
v4.6.1
v4.6.0
v4.5.3
v4.5.2
v4.5.1
v4.5.0
v4.4.0
v4.3.9
v4.3.8
v4.3.7
v4.3.6
v4.3.5
v4.3.4
v4.3.3
v4.3.2
v4.3.1
v4.3.0
v4.2.1
v4.2.0
v4.1.5
v4.1.4
v4.1.3
v4.1.2
v4.1.1
v4.1.0
v4.0.4
v4.0.3
v4.0.2
v4.0.1
v4.0.0
v3.20.3
v3.20.2
v3.20.1
v3.20.0
v3.19.0
v3.18.0
v3.17.0
v3.16.1
v3.16.0
v3.15.5
v3.15.4
v3.15.3
v3.15.2
v3.15.1
v3.15.0
v3.15.0-pre.0
Go to Latest
Menu
aeskw.ts
v
unwrap
v
wrap
asn1.ts
v
fromPKCS8
v
fromSPKI
v
fromX509
v
toPKCS8
v
toSPKI
base64url.ts
v
decode
v
decodeBase64
v
encode
v
encodeBase64
bogus.ts
v
default
check_cek_length.ts
v
default
check_key_length.ts
v
default
decrypt.ts
v
default
digest.ts
v
default
ecdhes.ts
f
deriveKey
f
ecdhAllowed
f
generateEpk
encrypt.ts
v
default
fetch_jwks.ts
v
default
generate.ts
f
generateKeyPair
f
generateSecret
get_sign_verify_key.ts
f
default
interfaces.d.ts
I
AesKwUnwrapFunction
I
AesKwWrapFunction
I
DecryptFunction
I
DigestFunction
I
EncryptFunction
I
FetchFunction
I
JWKImportFunction
I
Pbes2KWDecryptFunction
I
Pbes2KWEncryptFunction
I
PEMImportFunction
I
RsaEsDecryptFunction
I
RsaEsEncryptFunction
I
SignFunction
I
TimingSafeEqual
I
VerifyFunction
T
JWKExportFunction
T
PEMExportFunction
is_key_like.ts
v
default
v
types
jwk_to_key.ts
v
default
key_to_jwk.ts
v
default
pbes2kw.ts
v
decrypt
v
encrypt
random.ts
v
default
rsaes.ts
v
decrypt
v
encrypt
runtime.ts
v
default
sign.ts
v
default
subtle_dsa.ts
f
default
subtle_rsaes.ts
f
default
timing_safe_equal.ts
v
default
verify.ts
v
default
webcrypto.ts
v
isCryptoKey
import
*
as
jose
from
"https://deno.land/x/jose@v5.4.0/runtime/random.ts"
;
Variables
v
default