/** * 加密 */ declare function _s2EN(msg: any, publicKey: any, cipherMode?: number): string; /** * 解密 */ declare function _s2DE(encryptData: any, privateKey: any, cipherMode?: number, { output }?: { output?: string | undefined; }): string | never[]; /** * 签名 */ declare function _s2DOSIG(msg: any, privateKey: any, { pointPool, der, hash, publicKey, userId }?: {}): any; /** * 验签 */ declare function _s2DOVERSIG(msg: any, signHex: any, publicKey: any, { der, hash, userId }?: {}): any; /** * 计算公钥 */ declare function _s2GETPublicFPrivate(privateKey: any): string; /** * 获取椭圆曲线点 */ declare function getPoint(): { privateKey: any; publicKey: string; }; declare const _default: { generateKeyPairHex: (a: any, b: any, c: any) => { privateKey: any; publicKey: string; }; compressPublicKeyHex: (s: any) => string; comparePublicKeyHex: (publicKey1: any, publicKey2: any) => any; _s2EN: typeof _s2EN; _s2DE: typeof _s2DE; _s2DOSIG: typeof _s2DOSIG; _s2DOVERSIG: typeof _s2DOVERSIG; _s2GETPublicFPrivate: typeof _s2GETPublicFPrivate; getPoint: typeof getPoint; verifyPublicKey: (publicKey: any) => any; }; export default _default;