@zlattice/lattice-js
Version:
Lattice blockchain TypeScript SDK with dual module support (CJS + ESM)
13 lines • 337 B
TypeScript
/**
* 补全16进制字符串
*/
/**
* utf8 串转字节数组
*/
export declare function utf8ToArray(str: string): Uint8Array<ArrayBuffer>;
export declare function sm3(input: string | Uint8Array, options?: {
key: Uint8Array | string;
mode?: 'hmac' | 'mac';
}): string;
export default sm3;
//# sourceMappingURL=index.d.ts.map