Module

x/polkadot/mod.ts>utilCrypto.ed25519Verify

Package publishing for deno.land/x/polkadot
Go to Latest
function utilCrypto.ed25519Verify
import { utilCrypto } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts";
const { ed25519Verify } = utilCrypto;

Examples

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

ed25519Verify([...], [...], [...]); // => true/false

Parameters

message: HexString | Uint8Array | string
signature: HexString | Uint8Array | string
publicKey: HexString | Uint8Array | string
optional
onlyJs: boolean

Returns

boolean