import { decodeKeypairToBytes } from "https://deno.land/x/earthstar@v10.0.1/mod.browser.ts";
Convert a keypair (author / share) back into a raw KeypairBytes for use in crypto operations.
Parameters
pair: AuthorKeypair | ShareKeypair
x/earthstar/mod.browser.ts>decodeKeypairToBytes
import { decodeKeypairToBytes } from "https://deno.land/x/earthstar@v10.0.1/mod.browser.ts";
Convert a keypair (author / share) back into a raw KeypairBytes for use in crypto operations.