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

x/polkadot/util-crypto/index.ts>jsonEncrypt

Package publishing for deno.land/x/polkadot
Go to Latest
function jsonEncrypt
import { jsonEncrypt } from "https://deno.land/x/polkadot@0.2.27/util-crypto/index.ts";

Parameters

data: Uint8Array
contentType: string[]
optional
passphrase: string | null

Returns

EncryptedJson