export const generateKeyPairHex: typeof _.generateKeyPairHex; export const verifyPublicKey: typeof _.verifyPublicKey; import * as _ from "./utils"; /** * 加密 */ export function doEncrypt(msg: any, publicKey: any, cipherMode?: number): string; /** * 解密 */ export function doDecrypt(encryptData: any, privateKey: any, cipherMode?: number, { output }?: { output?: string; }): string | number[]; /** * 签名 */ export function doSignature(msg: any, privateKey: any, { pointPool, der, hash, publicKey, userId }?: { pointPool: any; der: any; hash: any; publicKey: any; userId: any; }): any; /** * 验签 */ export function doVerifySignature(msg: any, signHex: any, publicKey: any, { der, hash, userId }?: { der: any; hash: any; userId: any; }): any; /** * 获取椭圆曲线点 */ export function getPoint(): { privateKey: any; publicKey: string; };