diff --git a/src/crypto/public_key/dsa.js b/src/crypto/public_key/dsa.js index 3ac8db82..be4f5567 100644 --- a/src/crypto/public_key/dsa.js +++ b/src/crypto/public_key/dsa.js @@ -38,7 +38,7 @@ import { isProbablePrime } from './prime'; * @param {Uint8Array} p * @param {Uint8Array} q * @param {Uint8Array} x - * @returns {Promise<{ r: Uint8Array, s: Uint8Array >}} + * @returns {Promise<{ r: Uint8Array, s: Uint8Array }>} * @async */ export async function sign(hashAlgo, hashed, g, p, q, x) { diff --git a/src/crypto/public_key/elgamal.js b/src/crypto/public_key/elgamal.js index 5c67677d..5819324f 100644 --- a/src/crypto/public_key/elgamal.js +++ b/src/crypto/public_key/elgamal.js @@ -32,7 +32,7 @@ import { emeEncode, emeDecode } from '../pkcs1'; * @param {Uint8Array} p * @param {Uint8Array} g * @param {Uint8Array} y - * @returns {Promise<{ c1: Uint8Array, c2: Uint8Array >}} + * @returns {Promise<{ c1: Uint8Array, c2: Uint8Array }>} * @async */ export async function encrypt(data, p, g, y) { diff --git a/src/message.js b/src/message.js index 1416aa17..9b29efd0 100644 --- a/src/message.js +++ b/src/message.js @@ -598,7 +598,7 @@ export class Message { * keyID: module:type/keyid~KeyID, * signature: Promise, * verified: Promise - * }>} List of signer's keyID and validity of signature. + * }>>} List of signer's keyID and validity of signature. * @async */ verifyDetached(signature, keys, date = new Date(), config = defaultConfig) {