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

x/polkadot/util-crypto/nacl/index.ts>naclOpen

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

Examples

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

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

Parameters

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

Returns

Uint8Array | null