1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | declare function md5(message: string | number[] | Uint8Array, options: md5.Options & { asBytes: true }): number[];
|
9 | declare function md5(
|
10 | message: string | number[] | Uint8Array,
|
11 | options?: Pick<md5.Options, "asString" | "encoding">,
|
12 | ): string;
|
13 | declare function md5(message: string | number[] | Uint8Array, options?: md5.Options): string | number[];
|
14 |
|
15 | declare namespace md5 {
|
16 | interface Options {
|
17 | asBytes?: boolean | undefined;
|
18 | asString?: boolean | undefined;
|
19 | encoding?: "binary" | string | undefined;
|
20 | }
|
21 | }
|
22 |
|
23 | export = md5;
|