docs(eth-pm): typos
This commit is contained in:
parent
51d3c97028
commit
ef149cf96a
|
@ -17,7 +17,7 @@ export interface KeyPair {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Generate new encryption keypair.
|
* Generate new encryption key pair.
|
||||||
*/
|
*/
|
||||||
export async function generateEncryptionKeyPair(): Promise<KeyPair> {
|
export async function generateEncryptionKeyPair(): Promise<KeyPair> {
|
||||||
const privateKey = generatePrivateKey();
|
const privateKey = generatePrivateKey();
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { KeyPair } from "../crypto";
|
||||||
import { utils } from "js-waku";
|
import { utils } from "js-waku";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Save keypair to storage, encrypted with password
|
* Save key pair to storage, encrypted with password
|
||||||
*/
|
*/
|
||||||
export async function saveKeyPairToStorage(
|
export async function saveKeyPairToStorage(
|
||||||
EncryptionKeyPair: KeyPair,
|
EncryptionKeyPair: KeyPair,
|
||||||
|
@ -20,7 +20,7 @@ export async function saveKeyPairToStorage(
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load keypair from storage, decrypted using password
|
* Load key pair from storage, decrypted using password
|
||||||
*/
|
*/
|
||||||
export async function loadKeyPairFromStorage(
|
export async function loadKeyPairFromStorage(
|
||||||
password: string
|
password: string
|
||||||
|
|
Loading…
Reference in New Issue