临时去除 sm2

This commit is contained in:
cheney
2026-04-15 20:02:36 +08:00
parent 9be06035f4
commit 0ef0a78c38
5 changed files with 122 additions and 233 deletions
+10
View File
@@ -0,0 +1,10 @@
declare module 'gmsm-sm3js' {
export function sumHex(data: Uint8Array): string;
export function fromHex(hex: string): Uint8Array;
export function create(): any;
export function kdf(data: Uint8Array, len: number): Uint8Array;
export function sum(data: Uint8Array): Uint8Array;
export function toHex(bytes: Uint8Array): string;
export function normalizeInput(input: string | Buffer | Uint8Array): Uint8Array;
export function testSpeed(hashFn: Function, N: number, M: number): void;
}