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

x/polkadot/util-crypto/mod.ts>naclOpen

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

Examples

import { naclOpen } from 'https://deno.land/x/polkadot@0.2.25/util-crypto/mod.ts';

naclOpen([...], [...], [...]); // => [...]

Parameters

sealed: Uint8Array
nonce: Uint8Array
senderBoxPublic: Uint8Array
receiverBoxSecret: Uint8Array

Returns

Uint8Array | null