mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Initial commit
This commit is contained in:
29
node_modules/futoin-hkdf/hkdf.d.ts
generated
vendored
Normal file
29
node_modules/futoin-hkdf/hkdf.d.ts
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
declare function hkdf(
|
||||
ikm: Buffer | string,
|
||||
length: number,
|
||||
option?: hkdf.Options
|
||||
): Buffer;
|
||||
|
||||
declare namespace hkdf {
|
||||
interface Options {
|
||||
salt?: Buffer | string;
|
||||
info?: Buffer | string;
|
||||
hash?: string;
|
||||
}
|
||||
export function hash_length(hash: string): number;
|
||||
export function extract(
|
||||
hash: string,
|
||||
hash_len: number,
|
||||
ikm: Buffer | string,
|
||||
salt: Buffer | string
|
||||
): Buffer;
|
||||
export function expand(
|
||||
hash: string,
|
||||
hash_len: number,
|
||||
prk: Buffer | string,
|
||||
length: number,
|
||||
info: Buffer | string
|
||||
): Buffer;
|
||||
}
|
||||
|
||||
export = hkdf;
|
||||
Reference in New Issue
Block a user