From 1b48015c98e7c27293e78576472f597500d5d64f Mon Sep 17 00:00:00 2001 From: Sebastian Frank Date: Wed, 26 Jun 2024 14:58:39 +0000 Subject: [PATCH] context.cyrpto.md5 --- index.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.d.ts b/index.d.ts index 3feb3ea..a39a93c 100644 --- a/index.d.ts +++ b/index.d.ts @@ -632,6 +632,15 @@ declare global { * @returns hex hash */ sha256(data: string): string + + /** + * get hex of md5 hash + * + * @param sata string + * + * @returns hex hash + */ + md5(data:string): string } interface JsonPackage {