diff --git a/eth-pm/src/crypto.ts b/eth-pm/src/crypto.ts index c35ac9d..29df1e6 100644 --- a/eth-pm/src/crypto.ts +++ b/eth-pm/src/crypto.ts @@ -17,7 +17,7 @@ export interface KeyPair { } /** - * Generate new encryption keypair. + * Generate new encryption key pair. */ export async function generateEncryptionKeyPair(): Promise { const privateKey = generatePrivateKey(); diff --git a/eth-pm/src/key_pair_handling/key_pair_storage.ts b/eth-pm/src/key_pair_handling/key_pair_storage.ts index b4bd963..8a32e90 100644 --- a/eth-pm/src/key_pair_handling/key_pair_storage.ts +++ b/eth-pm/src/key_pair_handling/key_pair_storage.ts @@ -2,7 +2,7 @@ import { KeyPair } from "../crypto"; import { utils } from "js-waku"; /** - * Save keypair to storage, encrypted with password + * Save key pair to storage, encrypted with password */ export async function saveKeyPairToStorage( 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( password: string