Skip to main content
Module

x/polkadot/mod.ts>utilCrypto.ed25519Verify

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

Examples

import { ed25519Verify } from 'https://deno.land/x/polkadot@0.2.40/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