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

x/polkadot/util-crypto/mod.ts>ed25519PairFromString

Package publishing for deno.land/x/polkadot
Go to Latest
function ed25519PairFromString
import { ed25519PairFromString } from "https://deno.land/x/polkadot@0.2.27/util-crypto/mod.ts";

Examples

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

ed25519PairFromString('test'); // => { secretKey: [...], publicKey: [...] }

Parameters

value: string

Returns

Keypair