UNPKG

node-red-contrib-tplink-tapo-connect-api

Version:

This unofficial node-RED node allows connection to TP-Link Tapo devices. This project has been enhanced with AI support to enable new features. Starting with v0.50, we have added support for the KLAP protocol. To prioritize the operation of this node, we

15 lines (14 loc) 630 B
export declare class TapoCrypto { static generateKeyPair(): { publicKey: string; privateKey: string; }; static encryptWithPublicKey(data: string, publicKey: string): string; static decryptWithPrivateKey(encryptedData: string, privateKey: string): string; static aesEncrypt(data: string, key: string, iv: string): string; static aesDecrypt(encryptedData: string, key: string, iv: string): string; static generateRandomString(length: number): string; static sha256(data: string): string; static base64Encode(data: string): string; static base64Decode(data: string): string; }