UNPKG

node-firewalla

Version:

Package to talk your firewalla box & API

15 lines 567 B
declare class SecureUtil { static _instance: SecureUtil; privateKey: string; publicKey: string; constructor(); regenerateKeyPair(): void; importKeyPairFromString(publicKey: string, privateKey: string): void; importKeyPair(publicKeyPath: string, privateKeyPath: string): void; rsaDecrypt(cipherBase64: string): string; aesDecrypt(msg: string, key: string): string; aesEncrypt(msg: string, key: string): string; } declare const _default: SecureUtil; export default _default; //# sourceMappingURL=SecureUtil.d.ts.map