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

x/polkadot/util-crypto/ed25519/index.ts>ed25519Verify

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

Examples

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