- Preparing search index...
- The search index is not available
baileys
Curve: { generateKeyPair: (() => KeyPair); sharedKey: ((privateKey,
publicKey) => Buffer); sign: ((privateKey,
buf) => any); verify: ((pubKey,
message,
signature) => boolean); } = ...
Type declaration
-
generateKeyPair: (() => KeyPair)
-
sharedKey: ((privateKey, publicKey) => Buffer)
-
- (privateKey, publicKey): Buffer
-
Parameters
-
privateKey: Uint8Array
-
publicKey: Uint8Array
Returns Buffer
-
sign: ((privateKey, buf) => any)
-
- (privateKey, buf): any
-
Parameters
-
privateKey: Uint8Array
-
buf: Uint8Array
Returns any
-
verify: ((pubKey, message, signature) => boolean)
-
- (pubKey, message, signature): boolean
-
Parameters
-
pubKey: Uint8Array
-
message: Uint8Array
-
signature: Uint8Array
Returns boolean