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

x/polkadot/util-crypto/ed25519/pair/fromRandom.ts>ed25519PairFromRandom

Package publishing for deno.land/x/polkadot
Go to Latest
function ed25519PairFromRandom
import { ed25519PairFromRandom } from "https://deno.land/x/polkadot@0.2.42/util-crypto/ed25519/pair/fromRandom.ts";

Examples

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

ed25519PairFromRandom(); // => { secretKey: [...], publicKey: [...] }