rapidhash-wasm-vn 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundler/rapidhash_wasm_vn.d.ts +141 -127
- package/bundler/rapidhash_wasm_vn.js +5 -1
- package/bundler/rapidhash_wasm_vn_bg.js +519 -541
- package/bundler/rapidhash_wasm_vn_bg.wasm +0 -0
- package/bundler/rapidhash_wasm_vn_bg.wasm.d.ts +31 -31
- package/deno/rapidhash_wasm_vn.d.ts +141 -127
- package/deno/rapidhash_wasm_vn.js +446 -459
- package/deno/rapidhash_wasm_vn_bg.wasm +0 -0
- package/deno/rapidhash_wasm_vn_bg.wasm.d.ts +31 -31
- package/esm/rapidhash_wasm_vn.d.ts +141 -127
- package/esm/rapidhash_wasm_vn.js +655 -10
- package/esm/rapidhash_wasm_vn_bg.wasm +0 -0
- package/esm/rapidhash_wasm_vn_bg.wasm.d.ts +31 -31
- package/module/rapidhash_wasm_vn.d.ts +141 -127
- package/module/rapidhash_wasm_vn.js +446 -460
- package/module/rapidhash_wasm_vn_bg.wasm +0 -0
- package/module/rapidhash_wasm_vn_bg.wasm.d.ts +31 -31
- package/no-modules/rapidhash_wasm_vn.d.ts +265 -252
- package/no-modules/rapidhash_wasm_vn.js +540 -564
- package/no-modules/rapidhash_wasm_vn_bg.wasm +0 -0
- package/no-modules/rapidhash_wasm_vn_bg.wasm.d.ts +31 -31
- package/nodejs/rapidhash_wasm_vn.d.ts +141 -127
- package/nodejs/rapidhash_wasm_vn.js +406 -416
- package/nodejs/rapidhash_wasm_vn_bg.wasm +0 -0
- package/nodejs/rapidhash_wasm_vn_bg.wasm.d.ts +31 -31
- package/package.json +1 -1
- package/web/rapidhash_wasm_vn.d.ts +217 -202
- package/web/rapidhash_wasm_vn.js +518 -543
- package/web/rapidhash_wasm_vn_bg.wasm +0 -0
- package/web/rapidhash_wasm_vn_bg.wasm.d.ts +31 -31
- package/esm/rapidhash_wasm_vn_bg.js +0 -672
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const
|
|
4
|
+
export const __wbg_fasthasher_free: (a: number, b: number) => void;
|
|
5
5
|
export const __wbg_portablehashv1_free: (a: number, b: number) => void;
|
|
6
|
-
export const
|
|
7
|
-
export const
|
|
8
|
-
export const
|
|
9
|
-
export const
|
|
6
|
+
export const __wbg_portablehashv2_free: (a: number, b: number) => void;
|
|
7
|
+
export const fasthasher_digest: (a: number) => bigint;
|
|
8
|
+
export const fasthasher_new: (a: number, b: bigint) => number;
|
|
9
|
+
export const fasthasher_reset: (a: number) => void;
|
|
10
|
+
export const fasthasher_update: (a: number, b: number, c: number) => void;
|
|
11
|
+
export const fasthasher_update_i128: (a: number, b: bigint, c: bigint) => void;
|
|
12
|
+
export const fasthasher_update_i16: (a: number, b: number) => void;
|
|
13
|
+
export const fasthasher_update_i32: (a: number, b: number) => void;
|
|
14
|
+
export const fasthasher_update_i64: (a: number, b: bigint) => void;
|
|
15
|
+
export const fasthasher_update_i8: (a: number, b: number) => void;
|
|
16
|
+
export const hash_file_v3: (a: number, b: number, c: number, d: bigint) => [bigint, number, number];
|
|
17
|
+
export const hash_v1: (a: number, b: number, c: number, d: bigint) => bigint;
|
|
10
18
|
export const hash_v1_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
|
|
11
19
|
export const hash_v2: (a: number, b: number, c: number, d: bigint) => bigint;
|
|
12
|
-
export const __wbg_portablehashv2_free: (a: number, b: number) => void;
|
|
13
|
-
export const portablehashv2_new: (a: number, b: bigint) => number;
|
|
14
|
-
export const portablehashv2_update: (a: number, b: number, c: number) => void;
|
|
15
|
-
export const portablehashv2_digest: (a: number) => bigint;
|
|
16
|
-
export const portablehashv2_reset: (a: number) => void;
|
|
17
20
|
export const hash_v2_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
|
|
18
21
|
export const hash_v3: (a: number, b: number, c: number, d: bigint) => bigint;
|
|
22
|
+
export const hash_v3_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
|
|
19
23
|
export const hash_v3_micro: (a: number, b: number, c: number, d: bigint) => bigint;
|
|
20
24
|
export const hash_v3_nano: (a: number, b: number, c: number, d: bigint) => bigint;
|
|
21
|
-
export const
|
|
25
|
+
export const portablehashv1_digest: (a: number) => bigint;
|
|
26
|
+
export const portablehashv1_new: (a: number, b: bigint) => number;
|
|
27
|
+
export const portablehashv1_reset: (a: number) => void;
|
|
28
|
+
export const portablehashv1_update: (a: number, b: number, c: number) => void;
|
|
29
|
+
export const portablehashv2_digest: (a: number) => bigint;
|
|
30
|
+
export const portablehashv2_new: (a: number, b: bigint) => number;
|
|
31
|
+
export const portablehashv2_reset: (a: number) => void;
|
|
32
|
+
export const portablehashv2_update: (a: number, b: number, c: number) => void;
|
|
22
33
|
export const portablehashv3_digest: (a: number) => bigint;
|
|
23
|
-
export const hash_v3_batch: (a: number, b: number, c: number, d: bigint) => [number, number, number, number];
|
|
24
|
-
export const __wbg_fasthasher_free: (a: number, b: number) => void;
|
|
25
|
-
export const fasthasher_new: (a: number, b: bigint) => number;
|
|
26
|
-
export const fasthasher_update: (a: number, b: number, c: number) => void;
|
|
27
|
-
export const fasthasher_update_i8: (a: number, b: number) => void;
|
|
28
|
-
export const fasthasher_update_i16: (a: number, b: number) => void;
|
|
29
|
-
export const fasthasher_update_i32: (a: number, b: number) => void;
|
|
30
|
-
export const fasthasher_update_i64: (a: number, b: bigint) => void;
|
|
31
|
-
export const fasthasher_update_i128: (a: number, b: bigint, c: bigint) => void;
|
|
32
|
-
export const fasthasher_digest: (a: number) => bigint;
|
|
33
|
-
export const fasthasher_reset: (a: number) => void;
|
|
34
|
-
export const qualityhasher_update: (a: number, b: number, c: number) => void;
|
|
35
34
|
export const qualityhasher_digest: (a: number) => bigint;
|
|
35
|
+
export const qualityhasher_update: (a: number, b: number, c: number) => void;
|
|
36
36
|
export const fasthasher_update_u128: (a: number, b: bigint, c: bigint) => void;
|
|
37
37
|
export const qualityhasher_update_u128: (a: number, b: bigint, c: bigint) => void;
|
|
38
|
-
export const fasthasher_update_u8: (a: number, b: number) => void;
|
|
39
38
|
export const fasthasher_update_u16: (a: number, b: number) => void;
|
|
40
|
-
export const
|
|
39
|
+
export const fasthasher_update_u8: (a: number, b: number) => void;
|
|
41
40
|
export const qualityhasher_update_u16: (a: number, b: number) => void;
|
|
41
|
+
export const qualityhasher_update_u8: (a: number, b: number) => void;
|
|
42
42
|
export const qualityhasher_new: (a: number, b: bigint) => number;
|
|
43
43
|
export const fasthasher_update_u32: (a: number, b: number) => void;
|
|
44
44
|
export const fasthasher_update_u64: (a: number, b: bigint) => void;
|
|
@@ -46,18 +46,18 @@ export const qualityhasher_update_u32: (a: number, b: number) => void;
|
|
|
46
46
|
export const qualityhasher_update_u64: (a: number, b: bigint) => void;
|
|
47
47
|
export const __wbg_qualityhasher_free: (a: number, b: number) => void;
|
|
48
48
|
export const __wbg_portablehashv3_free: (a: number, b: number) => void;
|
|
49
|
+
export const portablehashv3_update: (a: number, b: number, c: number) => void;
|
|
49
50
|
export const portablehashv3_reset: (a: number) => void;
|
|
50
|
-
export const
|
|
51
|
-
export const qualityhasher_update_i128: (a: number, b: bigint, c: bigint) => void;
|
|
51
|
+
export const qualityhasher_update_i8: (a: number, b: number) => void;
|
|
52
52
|
export const qualityhasher_update_i64: (a: number, b: bigint) => void;
|
|
53
53
|
export const qualityhasher_update_i32: (a: number, b: number) => void;
|
|
54
54
|
export const qualityhasher_update_i16: (a: number, b: number) => void;
|
|
55
|
-
export const
|
|
56
|
-
export const
|
|
55
|
+
export const qualityhasher_update_i128: (a: number, b: bigint, c: bigint) => void;
|
|
56
|
+
export const qualityhasher_reset: (a: number) => void;
|
|
57
57
|
export const portablehashv3_new: (a: number, b: bigint) => number;
|
|
58
|
-
export const
|
|
58
|
+
export const __wbindgen_externrefs: WebAssembly.Table;
|
|
59
59
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
60
|
-
export const __externref_table_alloc: () => number;
|
|
61
60
|
export const __externref_table_dealloc: (a: number) => void;
|
|
61
|
+
export const __externref_table_alloc: () => number;
|
|
62
62
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
63
63
|
export const __wbindgen_start: () => void;
|
|
@@ -1,5 +1,135 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
|
|
4
|
+
export class FastHasher {
|
|
5
|
+
free(): void;
|
|
6
|
+
[Symbol.dispose](): void;
|
|
7
|
+
/**
|
|
8
|
+
* Finalizes the hash and returns the result
|
|
9
|
+
*/
|
|
10
|
+
digest(): bigint;
|
|
11
|
+
constructor(seed?: bigint | null);
|
|
12
|
+
/**
|
|
13
|
+
* Resets the hasher
|
|
14
|
+
*/
|
|
15
|
+
reset(): void;
|
|
16
|
+
/**
|
|
17
|
+
* Updates the hash with new data
|
|
18
|
+
*/
|
|
19
|
+
update(data: Uint8Array): void;
|
|
20
|
+
update_i128(data: bigint): void;
|
|
21
|
+
update_i16(data: number): void;
|
|
22
|
+
update_i32(data: number): void;
|
|
23
|
+
update_i64(data: bigint): void;
|
|
24
|
+
update_i8(data: number): void;
|
|
25
|
+
update_u128(data: bigint): void;
|
|
26
|
+
update_u16(data: number): void;
|
|
27
|
+
update_u32(data: number): void;
|
|
28
|
+
update_u64(data: bigint): void;
|
|
29
|
+
update_u8(data: number): void;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Streaming PortableHashV1
|
|
34
|
+
*/
|
|
35
|
+
export class PortableHashV1 {
|
|
36
|
+
free(): void;
|
|
37
|
+
[Symbol.dispose](): void;
|
|
38
|
+
/**
|
|
39
|
+
* Finalizes the hash and returns the result
|
|
40
|
+
*/
|
|
41
|
+
digest(): bigint;
|
|
42
|
+
constructor(seed?: bigint | null);
|
|
43
|
+
/**
|
|
44
|
+
* Resets the hasher with optional new seed
|
|
45
|
+
*/
|
|
46
|
+
reset(): void;
|
|
47
|
+
/**
|
|
48
|
+
* Updates the hash with new data
|
|
49
|
+
*/
|
|
50
|
+
update(data: Uint8Array): void;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Streaming PortableHashV2
|
|
55
|
+
*/
|
|
56
|
+
export class PortableHashV2 {
|
|
57
|
+
free(): void;
|
|
58
|
+
[Symbol.dispose](): void;
|
|
59
|
+
/**
|
|
60
|
+
* Finalizes the hash and returns the result
|
|
61
|
+
*/
|
|
62
|
+
digest(): bigint;
|
|
63
|
+
constructor(seed?: bigint | null);
|
|
64
|
+
/**
|
|
65
|
+
* Resets the hasher with optional new seed
|
|
66
|
+
*/
|
|
67
|
+
reset(): void;
|
|
68
|
+
/**
|
|
69
|
+
* Updates the hash with new data
|
|
70
|
+
*/
|
|
71
|
+
update(data: Uint8Array): void;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Streaming PortableHashV3
|
|
76
|
+
*/
|
|
77
|
+
export class PortableHashV3 {
|
|
78
|
+
free(): void;
|
|
79
|
+
[Symbol.dispose](): void;
|
|
80
|
+
/**
|
|
81
|
+
* Finalizes the hash and returns the result
|
|
82
|
+
*/
|
|
83
|
+
digest(): bigint;
|
|
84
|
+
constructor(seed?: bigint | null);
|
|
85
|
+
/**
|
|
86
|
+
* Resets the hasher with optional new seed
|
|
87
|
+
*/
|
|
88
|
+
reset(): void;
|
|
89
|
+
/**
|
|
90
|
+
* Updates the hash with new data
|
|
91
|
+
*/
|
|
92
|
+
update(data: Uint8Array): void;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export class QualityHasher {
|
|
96
|
+
free(): void;
|
|
97
|
+
[Symbol.dispose](): void;
|
|
98
|
+
/**
|
|
99
|
+
* Finalizes the hash and returns the result
|
|
100
|
+
*/
|
|
101
|
+
digest(): bigint;
|
|
102
|
+
constructor(seed?: bigint | null);
|
|
103
|
+
/**
|
|
104
|
+
* Resets the hasher
|
|
105
|
+
*/
|
|
106
|
+
reset(): void;
|
|
107
|
+
/**
|
|
108
|
+
* Updates the hash with new data
|
|
109
|
+
*/
|
|
110
|
+
update(data: Uint8Array): void;
|
|
111
|
+
update_i128(data: bigint): void;
|
|
112
|
+
update_i16(data: number): void;
|
|
113
|
+
update_i32(data: number): void;
|
|
114
|
+
update_i64(data: bigint): void;
|
|
115
|
+
update_i8(data: number): void;
|
|
116
|
+
update_u128(data: bigint): void;
|
|
117
|
+
update_u16(data: number): void;
|
|
118
|
+
update_u32(data: number): void;
|
|
119
|
+
update_u64(data: bigint): void;
|
|
120
|
+
update_u8(data: number): void;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* RapidHash V3 - (64-bit) hash file
|
|
125
|
+
*
|
|
126
|
+
* # Arguments
|
|
127
|
+
*
|
|
128
|
+
* * `input` - Input data to hash
|
|
129
|
+
* * `seed` - Seed value for hash (default: 0)
|
|
130
|
+
*/
|
|
131
|
+
export function hash_file_v3(input: Uint8Array, seed?: bigint | null): bigint;
|
|
132
|
+
|
|
3
133
|
/**
|
|
4
134
|
* Computes RapidHash V1 (64-bit) hash
|
|
5
135
|
*
|
|
@@ -9,10 +139,12 @@
|
|
|
9
139
|
* * `seed` - Seed value for hash (default: 0)
|
|
10
140
|
*/
|
|
11
141
|
export function hash_v1(input: Uint8Array, seed?: bigint | null): bigint;
|
|
142
|
+
|
|
12
143
|
/**
|
|
13
144
|
* Computes multiple RapidHash V1 (64-bit) hashes in batch
|
|
14
145
|
*/
|
|
15
146
|
export function hash_v1_batch(chunks: Uint8Array[], seed?: bigint | null): BigUint64Array;
|
|
147
|
+
|
|
16
148
|
/**
|
|
17
149
|
* Computes RapidHash V2 (64-bit) hash
|
|
18
150
|
*
|
|
@@ -22,10 +154,12 @@ export function hash_v1_batch(chunks: Uint8Array[], seed?: bigint | null): BigUi
|
|
|
22
154
|
* * `seed` - Seed value for hash (default: 0)
|
|
23
155
|
*/
|
|
24
156
|
export function hash_v2(input: Uint8Array, seed?: bigint | null): bigint;
|
|
157
|
+
|
|
25
158
|
/**
|
|
26
159
|
* Computes multiple RapidHash V2 (64-bit) hashes in batch
|
|
27
160
|
*/
|
|
28
161
|
export function hash_v2_batch(chunks: Uint8Array[], seed?: bigint | null): BigUint64Array;
|
|
162
|
+
|
|
29
163
|
/**
|
|
30
164
|
* Computes RapidHash V3 (64-bit) hash
|
|
31
165
|
*
|
|
@@ -35,6 +169,12 @@ export function hash_v2_batch(chunks: Uint8Array[], seed?: bigint | null): BigUi
|
|
|
35
169
|
* * `seed` - Seed value for hash (default: 0)
|
|
36
170
|
*/
|
|
37
171
|
export function hash_v3(input: Uint8Array, seed?: bigint | null): bigint;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Computes multiple RapidHash V3 (64-bit) hashes in batch
|
|
175
|
+
*/
|
|
176
|
+
export function hash_v3_batch(chunks: Uint8Array[], seed?: bigint | null): BigUint64Array;
|
|
177
|
+
|
|
38
178
|
/**
|
|
39
179
|
* Computes RapidHash V3 (64-bit) micro hash
|
|
40
180
|
*
|
|
@@ -44,6 +184,7 @@ export function hash_v3(input: Uint8Array, seed?: bigint | null): bigint;
|
|
|
44
184
|
* * `seed` - Seed value for hash (default: 0)
|
|
45
185
|
*/
|
|
46
186
|
export function hash_v3_micro(input: Uint8Array, seed?: bigint | null): bigint;
|
|
187
|
+
|
|
47
188
|
/**
|
|
48
189
|
* Computes RapidHash V3 (64-bit) nano hash
|
|
49
190
|
*
|
|
@@ -53,130 +194,3 @@ export function hash_v3_micro(input: Uint8Array, seed?: bigint | null): bigint;
|
|
|
53
194
|
* * `seed` - Seed value for hash (default: 0)
|
|
54
195
|
*/
|
|
55
196
|
export function hash_v3_nano(input: Uint8Array, seed?: bigint | null): bigint;
|
|
56
|
-
/**
|
|
57
|
-
* RapidHash V3 - (64-bit) hash file
|
|
58
|
-
*
|
|
59
|
-
* # Arguments
|
|
60
|
-
*
|
|
61
|
-
* * `input` - Input data to hash
|
|
62
|
-
* * `seed` - Seed value for hash (default: 0)
|
|
63
|
-
*/
|
|
64
|
-
export function hash_file_v3(input: Uint8Array, seed?: bigint | null): bigint;
|
|
65
|
-
/**
|
|
66
|
-
* Computes multiple RapidHash V3 (64-bit) hashes in batch
|
|
67
|
-
*/
|
|
68
|
-
export function hash_v3_batch(chunks: Uint8Array[], seed?: bigint | null): BigUint64Array;
|
|
69
|
-
export class FastHasher {
|
|
70
|
-
free(): void;
|
|
71
|
-
[Symbol.dispose](): void;
|
|
72
|
-
constructor(seed?: bigint | null);
|
|
73
|
-
/**
|
|
74
|
-
* Updates the hash with new data
|
|
75
|
-
*/
|
|
76
|
-
update(data: Uint8Array): void;
|
|
77
|
-
update_u8(data: number): void;
|
|
78
|
-
update_u16(data: number): void;
|
|
79
|
-
update_u32(data: number): void;
|
|
80
|
-
update_u64(data: bigint): void;
|
|
81
|
-
update_u128(data: bigint): void;
|
|
82
|
-
update_i8(data: number): void;
|
|
83
|
-
update_i16(data: number): void;
|
|
84
|
-
update_i32(data: number): void;
|
|
85
|
-
update_i64(data: bigint): void;
|
|
86
|
-
update_i128(data: bigint): void;
|
|
87
|
-
/**
|
|
88
|
-
* Finalizes the hash and returns the result
|
|
89
|
-
*/
|
|
90
|
-
digest(): bigint;
|
|
91
|
-
/**
|
|
92
|
-
* Resets the hasher
|
|
93
|
-
*/
|
|
94
|
-
reset(): void;
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Streaming PortableHashV1
|
|
98
|
-
*/
|
|
99
|
-
export class PortableHashV1 {
|
|
100
|
-
free(): void;
|
|
101
|
-
[Symbol.dispose](): void;
|
|
102
|
-
constructor(seed?: bigint | null);
|
|
103
|
-
/**
|
|
104
|
-
* Updates the hash with new data
|
|
105
|
-
*/
|
|
106
|
-
update(data: Uint8Array): void;
|
|
107
|
-
/**
|
|
108
|
-
* Finalizes the hash and returns the result
|
|
109
|
-
*/
|
|
110
|
-
digest(): bigint;
|
|
111
|
-
/**
|
|
112
|
-
* Resets the hasher with optional new seed
|
|
113
|
-
*/
|
|
114
|
-
reset(): void;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Streaming PortableHashV2
|
|
118
|
-
*/
|
|
119
|
-
export class PortableHashV2 {
|
|
120
|
-
free(): void;
|
|
121
|
-
[Symbol.dispose](): void;
|
|
122
|
-
constructor(seed?: bigint | null);
|
|
123
|
-
/**
|
|
124
|
-
* Updates the hash with new data
|
|
125
|
-
*/
|
|
126
|
-
update(data: Uint8Array): void;
|
|
127
|
-
/**
|
|
128
|
-
* Finalizes the hash and returns the result
|
|
129
|
-
*/
|
|
130
|
-
digest(): bigint;
|
|
131
|
-
/**
|
|
132
|
-
* Resets the hasher with optional new seed
|
|
133
|
-
*/
|
|
134
|
-
reset(): void;
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* Streaming PortableHashV3
|
|
138
|
-
*/
|
|
139
|
-
export class PortableHashV3 {
|
|
140
|
-
free(): void;
|
|
141
|
-
[Symbol.dispose](): void;
|
|
142
|
-
constructor(seed?: bigint | null);
|
|
143
|
-
/**
|
|
144
|
-
* Updates the hash with new data
|
|
145
|
-
*/
|
|
146
|
-
update(data: Uint8Array): void;
|
|
147
|
-
/**
|
|
148
|
-
* Finalizes the hash and returns the result
|
|
149
|
-
*/
|
|
150
|
-
digest(): bigint;
|
|
151
|
-
/**
|
|
152
|
-
* Resets the hasher with optional new seed
|
|
153
|
-
*/
|
|
154
|
-
reset(): void;
|
|
155
|
-
}
|
|
156
|
-
export class QualityHasher {
|
|
157
|
-
free(): void;
|
|
158
|
-
[Symbol.dispose](): void;
|
|
159
|
-
constructor(seed?: bigint | null);
|
|
160
|
-
/**
|
|
161
|
-
* Updates the hash with new data
|
|
162
|
-
*/
|
|
163
|
-
update(data: Uint8Array): void;
|
|
164
|
-
update_u8(data: number): void;
|
|
165
|
-
update_u16(data: number): void;
|
|
166
|
-
update_u32(data: number): void;
|
|
167
|
-
update_u64(data: bigint): void;
|
|
168
|
-
update_u128(data: bigint): void;
|
|
169
|
-
update_i8(data: number): void;
|
|
170
|
-
update_i16(data: number): void;
|
|
171
|
-
update_i32(data: number): void;
|
|
172
|
-
update_i64(data: bigint): void;
|
|
173
|
-
update_i128(data: bigint): void;
|
|
174
|
-
/**
|
|
175
|
-
* Finalizes the hash and returns the result
|
|
176
|
-
*/
|
|
177
|
-
digest(): bigint;
|
|
178
|
-
/**
|
|
179
|
-
* Resets the hasher
|
|
180
|
-
*/
|
|
181
|
-
reset(): void;
|
|
182
|
-
}
|