docs(eth-pm): typos

This commit is contained in:
fryorcraken.eth 2022-08-08 12:08:54 +10:00
parent 51d3c97028
commit ef149cf96a
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -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